static class Log4jLogEvent.LogEventProxy
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private StringMap |
contextData |
private ThreadContext.ContextStack |
contextStack |
private boolean |
isEndOfBatch |
private boolean |
isLocationRequired |
private Level |
level |
private java.lang.String |
loggerFQCN |
private java.lang.String |
loggerName |
private Marker |
marker |
private java.rmi.MarshalledObject<Message> |
marshalledMessage
since 2.8
|
private Message |
message |
private java.lang.String |
messageString
since 2.8
|
private long |
nanoTime |
private static long |
serialVersionUID |
private java.lang.StackTraceElement |
source |
private long |
threadId |
private java.lang.String |
threadName |
private int |
threadPriority |
private java.lang.Throwable |
thrown |
private ThrowableProxy |
thrownProxy |
private long |
timeMillis |
Constructor and Description |
---|
LogEventProxy(Log4jLogEvent event,
boolean includeLocation) |
LogEventProxy(LogEvent event,
boolean includeLocation) |
Modifier and Type | Method and Description |
---|---|
private static java.rmi.MarshalledObject<Message> |
marshall(Message msg) |
private static StringMap |
memento(ReadOnlyStringMap data) |
private static Message |
memento(ReusableMessage message) |
private Message |
message() |
protected java.lang.Object |
readResolve()
Returns a Log4jLogEvent using the data in the proxy.
|
private void |
writeObject(java.io.ObjectOutputStream s) |
private static final long serialVersionUID
private final java.lang.String loggerFQCN
private final Marker marker
private final Level level
private final java.lang.String loggerName
private final transient Message message
private java.rmi.MarshalledObject<Message> marshalledMessage
private java.lang.String messageString
private final long timeMillis
private final transient java.lang.Throwable thrown
private final ThrowableProxy thrownProxy
private final StringMap contextData
private final ThreadContext.ContextStack contextStack
private final long threadId
private final java.lang.String threadName
private final int threadPriority
private final java.lang.StackTraceElement source
private final boolean isLocationRequired
private final boolean isEndOfBatch
private final transient long nanoTime
public LogEventProxy(Log4jLogEvent event, boolean includeLocation)
public LogEventProxy(LogEvent event, boolean includeLocation)
private static Message memento(ReusableMessage message)
private static StringMap memento(ReadOnlyStringMap data)
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException
java.io.IOException
protected java.lang.Object readResolve()
private Message message()