joedb
  • 1. Introduction
  • 2. User Guide
  • 3. Reference
    • 3.1. API reference
    • 3.2. File Format
    • 3.3. Network Protocols
    • 3.4. Tools
    • 3.5. Testing
    • 3.6. Logging
    • 3.7. TODO
    • 3.8. Links
    • 3.9. Release Checklist
    • 3.10. History
    • 3.11. License
joedb
  • 3. Reference
  • 3.6. Logging

3.6. Logging

  • Android:

    • https://developer.android.com/ndk/reference/group/logging

    • adb logcat -s log_tag -v color

  • MacOS:

    • https://developer.apple.com/documentation/os/logger

    • https://developer.apple.com/documentation/os/1643744-os_log_create

    • https://developer.apple.com/documentation/os/os_log_with_type

    • log stream --level info --predicate 'category=="log_tag"'

    • log stream --level info --predicate 'subsystem=="org.joedb"'

  • Posix syslog:

    • https://man7.org/linux/man-pages/man3/syslog.3.html

    • sudo tail -f /var/log/syslog | grep log_tag

  • systemd

    • https://www.freedesktop.org/software/systemd/man/latest/sd_journal_send.html

    • https://www.loggly.com/ultimate-guide/linux-logging-with-systemd/

Previous Next

© Copyright Rémi Coulom.

Built with Sphinx using a theme provided by Read the Docs.