| Package | Description |
|---|---|
| org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
| org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
| org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
| Modifier and Type | Field and Description |
|---|---|
private Cancellable |
LoggerContext.shutdownCallback |
| Modifier and Type | Method and Description |
|---|---|
Cancellable |
Log4jContextFactory.addShutdownCallback(java.lang.Runnable callback) |
| Modifier and Type | Class and Description |
|---|---|
private static class |
DefaultShutdownCallbackRegistry.RegisteredCancellable |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<Cancellable> |
DefaultShutdownCallbackRegistry.hooks |
private java.util.Collection<Cancellable> |
DefaultShutdownCallbackRegistry.RegisteredCancellable.registered |
| Modifier and Type | Method and Description |
|---|---|
Cancellable |
ShutdownCallbackRegistry.addShutdownCallback(java.lang.Runnable callback)
Adds a Runnable shutdown callback to this class.
|
Cancellable |
DefaultShutdownCallbackRegistry.addShutdownCallback(java.lang.Runnable callback) |
| Constructor and Description |
|---|
RegisteredCancellable(java.lang.Runnable callback,
java.util.Collection<Cancellable> registered) |