Skip to content

Commit fbeccf9

Browse files
authored
Clarify that charlists cannot be used as logger metadata (#13977)
1 parent 0e052fd commit fbeccf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/logger/lib/logger/formatter.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ defmodule Logger.Formatter do
8484
> * Be an atom
8585
> * Be a reference
8686
> * Be a port
87-
> * Implement the `String.Chars` protocol
87+
> * Implement the `String.Chars` protocol (except for charlists)
8888
>
8989
> If none of the conditions above are `true`, the given metadata get
9090
> discarded.

0 commit comments

Comments
 (0)