Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.appender.db.jpa |
The JPA Appender supports writing log events to a relational database using the Java Persistence API.
|
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 |
LogEvent.getThrownProxy()
Gets throwable proxy associated with logging request.
|
ThrowableProxy |
AbstractLogEvent.getThrownProxy() |
Modifier and Type | Method and Description |
---|---|
ThrowableProxy |
BasicLogEventEntity.getThrownProxy()
Gets the exception logged.
|
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,
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. |
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,
String suffix)
Formats the specified Throwable.
|
Log4jLogEvent.Builder |
Log4jLogEvent.Builder.setThrownProxy(ThrowableProxy thrownProxy) |
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.