RingLogger.Client.configure

You're seeing just the function configure, go back to RingLogger.Client module for more information.
Link to this function

configure(client_pid, config)

View Source

Specs

configure(GenServer.server(), [RingLogger.client_option()]) :: :ok

Update the client configuration.

Options include:

  • :io - Defaults to :stdio
  • :colors -
  • :metadata - A KV list of additional metadata
  • :format - A custom format string, or a {module, function} tuple (see https://hexdocs.pm/logger/master/Logger.html#module-custom-formatting)
  • :level - The minimum log level to report.
  • :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.