summaryrefslogtreecommitdiff
path: root/lib/logger
diff options
context:
space:
mode:
authorsabiwara <sabiwara@gmail.com>2023-03-23 22:11:50 +0900
committerGitHub <noreply@github.com>2023-03-23 14:11:50 +0100
commit07086a9bec7907316254213acafe0cc36e0f9125 (patch)
treed8a74263ae1f697bea86f78e5c9a08b4b4499ae7 /lib/logger
parent53cd4f7c7a9f7c548aaf860ab7b5fcc5fd418b08 (diff)
downloadelixir-07086a9bec7907316254213acafe0cc36e0f9125.tar.gz
Fix logger formatting in OTP26 (#12434)
Diffstat (limited to 'lib/logger')
-rw-r--r--lib/logger/lib/logger/utils.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/logger/lib/logger/utils.ex b/lib/logger/lib/logger/utils.ex
index 409a892f6..dfb5c6c97 100644
--- a/lib/logger/lib/logger/utils.ex
+++ b/lib/logger/lib/logger/utils.ex
@@ -134,7 +134,8 @@ defmodule Logger.Utils do
pad_char: ?\s,
precision: :none,
strings: true,
- width: :none
+ width: :none,
+ maps_order: :undefined
}
defp handle_format_spec(%{control_char: char} = spec, opts) when char in ~c"wWpP" do