PrimaExLogger

Installation

If available in Hex, the package can be installed by adding prima_ex_logger to your list of dependencies in mix.exs:

def deps do
  [
    {:prima_ex_logger, "~> 0.3.0"}
  ]
end

Configuration example

config :logger,
  backends: [
    {PrimaExLogger, :prima_logger}
  ],
  level: :info  # please note that changing global :logger level will also affect this backend

config :logger, :prima_logger,
  encoder: Poison,
  type: :your_app_name,
  environment: :production

Supported options