Logging with metadata.
The package can be installed by adding metadata_logger
to your list of dependencies in mix.exs
:
def deps do
[{:metadata_logger, "~> 0.2"}]
end
config :logger, :console,
level: :debug,
format: {MetadataLogger, :format},
colors: [enabled: false],
metadata: :all,
truncate: :infinity,
utc_log: true
Full documentation can be found at https://hexdocs.pm/metadata_logger.