From 1aa514bc7a9554845f1112b8eb47a07f3afa16f2 Mon Sep 17 00:00:00 2001 From: sabiwara Date: Thu, 7 Nov 2024 11:37:12 +0900 Subject: [PATCH] Clarify that charlists cannot be used as logger metadata --- lib/logger/lib/logger/formatter.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logger/lib/logger/formatter.ex b/lib/logger/lib/logger/formatter.ex index b94bc9e0532..962cd7033a6 100644 --- a/lib/logger/lib/logger/formatter.ex +++ b/lib/logger/lib/logger/formatter.ex @@ -84,7 +84,7 @@ defmodule Logger.Formatter do > * Be an atom > * Be a reference > * Be a port - > * Implement the `String.Chars` protocol + > * Implement the `String.Chars` protocol (except for charlists) > > If none of the conditions above are `true`, the given metadata get > discarded.