fake_lager View Source

fake_lager is a drop-in replacement for lager that forwards logs to logger instead.

It intends on easing transitions to logger on codebases for which a straightforward move away from lager is impractical or unattainable in the near future.

Basic lager functionality is covered:

  • distinct log levels
  • lazy evaluation of logging calls
  • process and message metadata

Yet to achieve:

  • support for pretty printing of records and stacktraces

Likely unattainable:

  • multiple sinks
  • tracing

fake_lager is experimental and might not behave as you expect it to.