public interface GelfFieldMapper<T>
ILoggingEvent as input.| Modifier and Type | Method and Description |
|---|---|
void |
mapField(ch.qos.logback.classic.spi.ILoggingEvent event,
java.util.function.BiConsumer<java.lang.String,T> valueHandler)
Map a field (one or more) from
ILoggingEvent to a GELF message. |
void mapField(ch.qos.logback.classic.spi.ILoggingEvent event,
java.util.function.BiConsumer<java.lang.String,T> valueHandler)
ILoggingEvent to a GELF message.event - the source log eventvalueHandler - the consumer of the field (String name and value)