Class StackdriverJsonLayout.JsonLogEventWithAdditionalFields

  • Enclosing class:
    StackdriverJsonLayout

    public static class StackdriverJsonLayout.JsonLogEventWithAdditionalFields
    extends org.curioswitch.common.server.framework.logging.AbstractJacksonLayout.LogEventWithAdditionalFields
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonLogEventWithAdditionalFields​(org.apache.logging.log4j.core.LogEvent logEvent, java.util.Map<java.lang.String,​java.lang.String> additionalFields)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getAdditionalFields()  
      java.lang.Object getLogEvent()  
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsonLogEventWithAdditionalFields

        public JsonLogEventWithAdditionalFields​(org.apache.logging.log4j.core.LogEvent logEvent,
                                                java.util.Map<java.lang.String,​java.lang.String> additionalFields)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
      • getAdditionalFields

        public java.util.Map<java.lang.String,​java.lang.String> getAdditionalFields()
        Overrides:
        getAdditionalFields in class org.curioswitch.common.server.framework.logging.AbstractJacksonLayout.LogEventWithAdditionalFields
      • getLogEvent

        public java.lang.Object getLogEvent()
        Overrides:
        getLogEvent in class org.curioswitch.common.server.framework.logging.AbstractJacksonLayout.LogEventWithAdditionalFields