Interface GelfFieldMapper<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
    • Method Detail

      • mapField

        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.
        Parameters:
        event - the source log event
        valueHandler - the consumer of the field (String name and value)