Skip to content

Commit

Permalink
[formatter][json] simplify json formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
rmannibucau committed Mar 4, 2024
1 parent 3994ee9 commit 152f4ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public String format(final LogRecord record) {
if (customEntriesMapper != null) {
final var data = customEntriesMapper.apply(record);
if (data != null) {
data.forEach((k, v) -> json.append(",\"").append(k).append("\":").append(v).append(""));
data.forEach((k, v) -> json.append(",\"").append(k).append("\":").append(v));
}
}
return json.append('}').toString() + '\n';
Expand Down

0 comments on commit 152f4ed

Please sign in to comment.