File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,10 @@ defmodule Logger.Formatter do
1414 format: "\n$time $metadata[$level] $message\n",
1515 metadata: [:user_id]
1616
17+ You can also use `Logger.Formatter.new/1` to create your own formatter,
18+ which can then be passed as a formatter to any [`:logger_handler`](`:logger_handler`).
1719 See `Logger.Formatter.new/1` for all configuration options.
1820
19- You can also build your own instances of this formatter by calling
20- `new/1` and setting at the formatter of any `:logger` handler by
21- settings its `:formatter` key to `Logger.Formatter.new(options)`.
22-
2321 This module also provides several conveniences for those who wish
2422 to [write their custom logger formatters](https://www.erlang.org/doc/apps/kernel/logger_chapter.html#formatters).
2523
You can’t perform that action at this time.
0 commit comments