Logger

Logger

A logger for Elixir applications.

It includes many features:

  • Provides debug, info, warn and error levels.

  • Supports multiple backends which are automatically supervised when plugged into Logger.

  • Formats and truncates messages on the client to avoid clogging Logger backends.

  • Alternates between sync and async modes to remain performant when required but also apply backpressure when under stress.

  • Wraps OTP’s error_logger to prevent it from overflowing.

Levels

The supported levels are: