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(String loggerName,
org.apache.logging.log4j.Marker marker,
String loggerFQCN,
org.apache.logging.log4j.Level level,
org.apache.logging.log4j.message.Message message,
Throwable thrown,
ThrowableProxy thrownProxy,
Map<String,String> mdc,
org.apache.logging.log4j.ThreadContext.ContextStack ndc,
String threadName,
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(Serializable event) |
Log4jLogEvent |
Log4jLogEvent.toImmutable() |
Log4jLogEvent |
MutableLogEvent.toImmutable() |
Modifier and Type | Method and Description |
---|---|
static Serializable |
Log4jLogEvent.serialize(Log4jLogEvent event,
boolean includeLocation)
Take a snapshot of the specified
Log4jLogEvent . |
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.