RingLogger.attach
You're seeing just the function
attach
, go back to RingLogger module for more information.
Specs
attach([client_option()]) :: :ok
Attach the current IEx session to the logger. It will start printing log messages.
Options include:
:io
- output location when printing. Defaults to:stdio
:colors
- a keyword list of coloring options:metadata
- a keyword list of additional metadata:format
- the format message used to print logs:level
- the minimum log level to report by this backend. Note that the:logger
application's:level
setting filters log messages prior toRingLogger
.:module_levels
- a map of log level overrides per module. For example, %{MyModule => :error, MyOtherModule => :none}:application_levels
- a map of log level overrides per application. For example, %{:my_app => :error, :my_other_app => :none}. Note log levels set in:module_levels
will take precedence.