Skip to content

Commit

Permalink
Clean up unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Apr 7, 2024
1 parent 49579e7 commit f2b4177
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/logger_formatter_json.erl
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,7 @@ is_printable(X) when is_binary(X) ->
% match -> false;
% _ -> true
% end;
io_lib:printable_unicode_list(unicode:characters_to_list(X, unicode));

% is_printable(X) when is_list(X) -> unicode:characters_to_list(X, unicode);
is_printable(_) -> false.
io_lib:printable_unicode_list(unicode:characters_to_list(X, unicode)).


-spec format_msg(Msg, Meta, Config) ->
Expand Down

0 comments on commit f2b4177

Please sign in to comment.