Skip to content

Commit 1606b0c

Browse files
authored
Update Logger format on docs, closes #6244
1 parent cfe959b commit 1606b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logger/lib/logger.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ defmodule Logger do
205205
`:level` configuration for the `:logger` application first.
206206
207207
* `:format` - the format message used to print logs.
208-
Defaults to: `"$time $metadata[$level] $levelpad$message\n"`.
208+
Defaults to: `"\n$time $metadata[$level] $levelpad$message\n"`.
209209
It may also be a `{module, function}` tuple that is invoked
210210
with the log level, the message, the current timestamp and
211211
the metadata.

0 commit comments

Comments
 (0)