Package | Description |
---|---|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
org.apache.logging.log4j.core.net.server |
Standalone server classes for consuming log events over a network.
|
Modifier and Type | Method and Description |
---|---|
Log4jLogEvent |
Log4jLogEvent.Builder.build() |
static Log4jLogEvent |
Log4jLogEvent.createEvent(String loggerName,
Marker marker,
String loggerFQCN,
Level level,
Message message,
Throwable thrown,
ThrowableProxy thrownProxy,
Map<String,String> mdc,
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 . |
Modifier and Type | Method and Description |
---|---|
protected Log4jLogEvent |
InputStreamLogEventBridge.unmarshal(String jsonEvent) |
Copyright © 1999-2017. 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.