Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
Modifier and Type | Method and Description |
---|---|
ThrowableProxy |
AbstractLogEvent.getThrownProxy() |
ThrowableProxy |
LogEvent.getThrownProxy()
Gets throwable proxy associated with logging request.
|
Modifier and Type | Method and Description |
---|---|
ThrowableProxy |
RingBufferLogEvent.getThrownProxy() |
Modifier and Type | Method and Description |
---|---|
ThrowableProxy |
ThrowableProxy.getCauseProxy() |
ThrowableProxy[] |
ThrowableProxy.getSuppressedProxies()
Gets proxies for suppressed exceptions.
|
ThrowableProxy |
Log4jLogEvent.getThrownProxy()
Returns the ThrowableProxy associated with the event, or null.
|
ThrowableProxy |
MutableLogEvent.getThrownProxy()
Returns the ThrowableProxy associated with the event, or null.
|
Modifier and Type | Method and Description |
---|---|
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. |
void |
ThrowableProxy.formatWrapper(StringBuilder sb,
ThrowableProxy cause,
List<String> ignorePackages,
String suffix)
Formats the specified Throwable.
|
void |
ThrowableProxy.formatWrapper(StringBuilder sb,
ThrowableProxy cause,
List<String> ignorePackages,
TextRenderer textRenderer,
String suffix)
Formats the specified Throwable.
|
void |
ThrowableProxy.formatWrapper(StringBuilder sb,
ThrowableProxy cause,
List<String> ignorePackages,
TextRenderer textRenderer,
String suffix,
String lineSeparator)
Formats the specified Throwable.
|
void |
ThrowableProxy.formatWrapper(StringBuilder sb,
ThrowableProxy cause,
String suffix)
Formats the specified Throwable.
|
Log4jLogEvent.Builder |
Log4jLogEvent.Builder.setThrownProxy(ThrowableProxy thrownProxy) |
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.