Package | Description |
---|---|
org.apache.logging.log4j |
Public API for Log4j 2.
|
org.apache.logging.log4j.message |
Public Message Types used for Log4j 2.
|
org.apache.logging.log4j.spi |
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
|
org.apache.logging.log4j.util |
Internal utility classes for the Log4j 2 API.
|
Modifier and Type | Class and Description |
---|---|
static class |
MarkerManager.Log4jMarker
Consider this class private, it is only public to satisfy Jackson for XML and JSON IO.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ReusableMessage
Messages implementing this interface are reused between logging calls.
|
Modifier and Type | Class and Description |
---|---|
class |
MapMessage<M extends MapMessage<M,V>,V>
Represents a Message that consists of a Map.
|
class |
ObjectMessage
Handles messages that contain an Object.
|
class |
ParameterizedMessage
Handles messages that consist of a format string containing '{}' to represent each replaceable token, and
the parameters.
|
class |
ReusableObjectMessage
Mutable Message wrapper around an Object message.
|
class |
ReusableParameterizedMessage
Reusable parameterized message.
|
class |
ReusableSimpleMessage
Mutable Message wrapper around a String message.
|
class |
SimpleMessage
The simplest possible implementation of Message.
|
class |
StringMapMessage
A
StringMapMessage typed to String -only values. |
class |
StructuredDataCollectionMessage
A collection of StructuredDataMessages.
|
class |
StructuredDataId
The StructuredData identifier.
|
class |
StructuredDataMessage
Represents a Message that conforms to an RFC 5424 StructuredData element along with the syslog message.
|
class |
ThreadDumpMessage
Captures information about all running Threads.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultThreadContextStack
A copy-on-write thread-safe variant of
org.apache.logging.log4j.spi.ThreadContextStack in which all mutative
operations (add, pop, and so on) are implemented by making a fresh copy of the underlying list. |
class |
MutableThreadContextStack
TODO
|
Modifier and Type | Interface and Description |
---|---|
interface |
MultiFormatStringBuilderFormattable
A Message that can render itself in more than one way.
|
Modifier and Type | Class and Description |
---|---|
class |
Timer
Primarily used in unit tests, but can be used to track elapsed time for a request or portion of any other operation
so long as all the timer methods are called on the same thread in which it was started.
|
Copyright © 1999-1969 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.