IMO there's no reason for the LevelLogger to not expose the underlying logger: org.slf4j.Logger. We use in some parts of our codebase LogstashMarkers to instrument logs with custom JSON fields, and exposing the underlying logger would make this less complicated.
Howdy!
IMO there's no reason for the
LevelLogger
to not expose the underlyinglogger: org.slf4j.Logger
. We use in some parts of our codebaseLogstashMarker
s to instrument logs with custom JSON fields, and exposing the underlying logger would make this less complicated.