- All Implemented Interfaces:
- ch.qos.logback.core.encoder.Encoder<ch.qos.logback.classic.spi.ILoggingEvent>, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle
public class StructuredLoggingEncoder
extends ch.qos.logback.core.encoder.EncoderBase<ch.qos.logback.classic.spi.ILoggingEvent>
A log message Encoder
that emits log messages decorated with Styx and Flo metadata.
If running under Styx, log messages are encoded as Stackdriver structured json and plain
text otherwise for easy reading when developing and running locally.