Package | Description |
---|---|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Class | Description |
---|---|---|
class |
Log4jContextFactory |
Factory to locate a ContextSelector and then load a LoggerContext.
|
Modifier and Type | Method | Description |
---|---|---|
ShutdownCallbackRegistry |
Log4jContextFactory.getShutdownCallbackRegistry() |
Returns the ShutdownCallbackRegistry
|
Constructor | Description |
---|---|
Log4jContextFactory(ContextSelector selector,
ShutdownCallbackRegistry shutdownCallbackRegistry) |
Constructs a Log4jContextFactory using the provided ContextSelector and ShutdownRegistrationStrategy.
|
Log4jContextFactory(ShutdownCallbackRegistry shutdownCallbackRegistry) |
Constructs a Log4jContextFactory using the ContextSelector from
Constants.LOG4J_CONTEXT_SELECTOR
and the provided ShutdownRegistrationStrategy. |
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultShutdownCallbackRegistry |
ShutdownRegistrationStrategy that simply uses
Runtime.addShutdownHook(Thread) . |
Copyright © 1999-2018. 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.