Custom Formatter
Define your formatter which you need.
Formatter Elements
Element.DATETIME
To used to embed the datetime when you print the log.
Formatted as yyyy-MM-ddTHH:mm:ss.SSS
Element.DATE
To used to embed the date when you print the log.
Formatted as yyyy-MM-dd
Element.TIME
To used to embed the time when you print the log.
Formatted as HH:mm:ss.SSS
Element.LEVEL ...
To used to embed the log level.
Element.MESSAGE ...
To used to embed the message what you want.
Element.THREAD ...
To used to embed the thread name
Element.CALLER ...
To used to embed the caller where you print the log.
Element.ATTR ...
To used to embed the additional attributes
Element.NAME ...
To used to embed the logger name
Element.CUSTOM(name) ...
To used to embed the Custom field which provided by logger context.
Custom Text Formatter
Defines your custom formatter
Then you can use formatter.
Custom Structured Formatter
Defines your custom formatter
and then, you can use this formatter.
Field masking
Structured Formatter will replace by *
which provided by mask
field.