Skip to content

Commit

Permalink
Avoid warning about unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Jan 4, 2024
1 parent 8a73ce3 commit 555f667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger_formatter_json.erl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

-spec format(LogEvent, Config) ->
unicode:chardata() when LogEvent :: logger:log_event(), Config :: config().
format(#{level := Level, msg := {report, V} = Msg, meta := Meta}, #{map_msg := merge} = Config0)
format(#{level := Level, msg := {report, V} = _Msg, meta := Meta}, #{map_msg := merge} = Config0)
when is_map(V) ->
Config = add_default_config(Config0),
Template0 = maps:get(template, Config),
Expand Down

0 comments on commit 555f667

Please sign in to comment.