Skip to content

Commit

Permalink
Update EcsEncoder.java
Browse files Browse the repository at this point in the history
Fixed per the feedback from the public PR.

Signed-off-by: Difrango, Ronald <Ronald.Difrango@fmr.com>
  • Loading branch information
rdifrango authored Jan 16, 2024
1 parent 1539b53 commit da9c9fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private void serializeMessage(ILoggingEvent event, StringBuilder builder) {
if (messageLayout == null) {
EcsJsonSerializer.serializeFormattedMessage(builder, event.getFormattedMessage());
} else {
EcsJsonSerializer.serializeFormattedMessage(builder, this.messageLayout.doLayout(event));
EcsJsonSerializer.serializeFormattedMessage(builder, messageLayout.doLayout(event));
}
}

Expand Down

0 comments on commit da9c9fa

Please sign in to comment.