Log.apex

  • Docs
  • Tutorials
Docs Menu
  • Logger
  • Configuration
    • Configuration File
    • Configure Logging
  • Appenders
    • Default Appenders
    • Custom Appenders
    • Async Logging
    • Default Async Appenders
    • Custom Async Appenders

Appenders Guide

Appenders

Logging Appenders

Logging appenders are used to append the logging information to somewhere. For example, Log.DefaultAppendersends logs to System.debug.

We may apply different implementation in custom logging appenders, so that we can extend Log.apex.

Check default appenders and custom appenders for details.

Async Appenders

Log.apex supports async logging by the use of async appenders.

Differently from default appenders, async appenders will collect the logging information(Log.Context) and process all in one batch during the flush.

Check the async appenders for details.

Contribute on Github! Edit this section.