-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Labels
Description
I would like to use co.elastic.logging.logback.EcsEncoder but I need to be able to add some custom fields. Some examples are: Exception root cause class, exception root cause message, and raw/unformatted log message.
I tried subclassing EcsEncoder, but since everything inside encode() is just static calls to EcsJsonSerializer, and all of the fields in EcsEncoder are private, I can't find any way to accomplish this.