Class Log4jLogEvent.LogEventProxy

java.lang.Object
org.apache.logging.log4j.core.impl.Log4jLogEvent.LogEventProxy
All Implemented Interfaces:
Serializable
Enclosing class:
Log4jLogEvent

static class Log4jLogEvent.LogEventProxy extends Object implements Serializable
Proxy pattern used to serialize the LogEvent.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • loggerFQCN

      private final String loggerFQCN
    • marker

      private final Marker marker
    • level

      private final Level level
    • loggerName

      private final String loggerName
    • message

      private final transient Message message
    • marshalledMessage

      private MarshalledObject<Message> marshalledMessage
      since 2.8
    • messageString

      private String messageString
      since 2.8
    • timeMillis

      private final long timeMillis
    • nanoOfMillisecond

      private final int nanoOfMillisecond
      since 2.11
    • thrown

      private final transient Throwable thrown
    • thrownProxy

      private final ThrowableProxy thrownProxy
    • contextData

      private final StringMap contextData
      Since:
      2.7
    • contextStack

      private final ThreadContext.ContextStack contextStack
    • threadId

      private final long threadId
      Since:
      2.6
    • threadName

      private final String threadName
    • threadPriority

      private final int threadPriority
      Since:
      2.6
    • source

      private final StackTraceElement source
    • isLocationRequired

      private final boolean isLocationRequired
    • isEndOfBatch

      private final boolean isEndOfBatch
    • nanoTime

      private final transient long nanoTime
      Since:
      2.4
  • Constructor Details

    • LogEventProxy

      public LogEventProxy(Log4jLogEvent event, boolean includeLocation)
    • LogEventProxy

      public LogEventProxy(LogEvent event, boolean includeLocation)
  • Method Details