Package | Description |
---|---|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
Modifier and Type | Method and Description |
---|---|
Log4jLogEvent |
Log4jLogEvent.Builder.build() |
static Log4jLogEvent |
Log4jLogEvent.createEvent(java.lang.String loggerName,
Marker marker,
java.lang.String loggerFQCN,
Level level,
Message message,
java.lang.Throwable thrown,
ThrowableProxy thrownProxy,
java.util.Map<java.lang.String,java.lang.String> mdc,
ThreadContext.ContextStack ndc,
java.lang.String threadName,
java.lang.StackTraceElement location,
long timestamp)
Deprecated.
use
Log4jLogEvent.Builder instead. This method will be removed in an upcoming release. |
Log4jLogEvent |
MutableLogEvent.createMemento()
Creates and returns a new immutable copy of this
MutableLogEvent . |
static Log4jLogEvent |
Log4jLogEvent.createMemento(LogEvent event,
boolean includeLocation)
Creates and returns a new immutable copy of this
Log4jLogEvent . |
static Log4jLogEvent |
Log4jLogEvent.deserialize(java.io.Serializable event) |
Log4jLogEvent |
MutableLogEvent.toImmutable() |
Log4jLogEvent |
Log4jLogEvent.toImmutable() |
Modifier and Type | Method and Description |
---|---|
static java.io.Serializable |
Log4jLogEvent.serialize(Log4jLogEvent event,
boolean includeLocation)
Take a snapshot of the specified
Log4jLogEvent . |
Constructor and Description |
---|
LogEventProxy(Log4jLogEvent event,
boolean includeLocation) |