| Package | Description |
|---|---|
| org.apache.logging.log4j |
Public API 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.ops4j.pax.logging.log4jv2 |
| Modifier and Type | Method and Description |
|---|---|
static ThreadContext.ContextStack |
ThreadContext.cloneStack()
Returns a copy of this thread's stack.
|
ThreadContext.ContextStack |
ThreadContext.ContextStack.copy()
Returns a copy of the ContextStack.
|
static ThreadContext.ContextStack |
ThreadContext.getImmutableStack()
Gets an immutable copy of this current thread's context stack.
|
ThreadContext.ContextStack |
ThreadContext.ContextStack.getImmutableStackOrNull()
Returns a ContextStack with the same contents as this ContextStack or
null. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ThreadContextStack
Service provider interface to implement custom NDC behavior for
ThreadContext. |
| 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 |
| Modifier and Type | Method and Description |
|---|---|
ThreadContext.ContextStack |
MutableThreadContextStack.getImmutableStackOrNull() |
ThreadContext.ContextStack |
DefaultThreadContextStack.getImmutableStackOrNull() |
| Modifier and Type | Class and Description |
|---|---|
class |
Log4jv2ThreadContextStack
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. |
| Modifier and Type | Method and Description |
|---|---|
ThreadContext.ContextStack |
Log4jv2ThreadContextStack.getImmutableStackOrNull() |
Copyright © 2006-2016 OPS4J - Open Participation Software for Java. All Rights Reserved.