Skip to content

Commit

Permalink
Use template to fix output order
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Dec 26, 2023
1 parent cf311bb commit 8771d66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/logger_formatter_json_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ unstructured(_) ->
msg => {"hello ~s", ["world"]},
meta => #{request_id => <<"F6R64Fh3F9NzEscAAAaB">>}
},
#{}
#{template => [msg, level, rest]}
)
)
),
Expand All @@ -90,7 +90,7 @@ unstructured(_) ->
msg => {"hello ~s", ["world"]},
meta => #{request_id => <<"string with spaces">>}
},
#{}
#{template => [msg, level, rest]}
)
)
),
Expand All @@ -99,7 +99,7 @@ unstructured(_) ->
iolist_to_binary(
logger_formatter_json:format(
#{level => info, msg => {"hello ~s", ["world"]}, meta => #{foo => <<"control char\n">>}},
#{}
#{template => [msg, level, rest]}
)
)
),
Expand Down

0 comments on commit 8771d66

Please sign in to comment.