Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/logger_json/formatter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ defmodule LoggerJSON.Formatter do
the first element is the module implementing `LoggerJSON.Formatter`,
and the second is the options passed to `new/1`. For example:

config :logger, :default_handler,
formatter: {LoggerJSON.Formatters.Basic, metadata: [:request_id]}
config :logger, :default_handler,
formatter: {LoggerJSON.Formatters.Basic, metadata: [:request_id]}

Note that tuple‑based configs are resolved for each log entry,
which can increase logging overhead.
Expand Down