Class LoggingEventVO

    • Field Detail

      • NULL_ARGUMENT_ARRAY_ELEMENT

        private static final java.lang.String NULL_ARGUMENT_ARRAY_ELEMENT
        See Also:
        Constant Field Values
      • threadName

        private java.lang.String threadName
      • loggerName

        private java.lang.String loggerName
      • level

        private transient Level level
      • message

        private java.lang.String message
      • formattedMessage

        private transient java.lang.String formattedMessage
      • argumentArray

        private transient java.lang.Object[] argumentArray
      • callerDataArray

        private java.lang.StackTraceElement[] callerDataArray
      • marker

        private org.slf4j.Marker marker
      • mdcPropertyMap

        private java.util.Map<java.lang.String,​java.lang.String> mdcPropertyMap
      • timeStamp

        private long timeStamp
    • Constructor Detail

      • LoggingEventVO

        public LoggingEventVO()
    • Method Detail

      • getCallerData

        public java.lang.StackTraceElement[] getCallerData()
        Description copied from interface: ILoggingEvent
        Return caller data associated with this event. Note that calling this event may trigger the computation of caller data.
        Specified by:
        getCallerData in interface ILoggingEvent
        Returns:
        the caller data associated with this event.
        See Also:
        ILoggingEvent.hasCallerData()
      • hasCallerData

        public boolean hasCallerData()
        Description copied from interface: ILoggingEvent
        If this event has caller data, then true is returned. Otherwise the returned value is null.

        Logback components wishing to use caller data if available without causing it to be computed can invoke this method before invoking ILoggingEvent.getCallerData().

        Specified by:
        hasCallerData in interface ILoggingEvent
        Returns:
        whether this event has caller data
      • getContextBirthTime

        public long getContextBirthTime()
      • getContextLoggerRemoteView

        public LoggerContextVO getContextLoggerRemoteView()
      • getMDCPropertyMap

        public java.util.Map<java.lang.String,​java.lang.String> getMDCPropertyMap()
        Description copied from interface: ILoggingEvent
        Returns the MDC map. The returned value can be an empty map but not null.
        Specified by:
        getMDCPropertyMap in interface ILoggingEvent
      • getMdc

        public java.util.Map<java.lang.String,​java.lang.String> getMdc()
        Description copied from interface: ILoggingEvent
        Synonym for [@link #getMDCPropertyMap}.
        Specified by:
        getMdc in interface ILoggingEvent
      • writeObject

        private void writeObject​(java.io.ObjectOutputStream out)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • readObject

        private void readObject​(java.io.ObjectInputStream in)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object