Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Class and Description |
---|---|
class |
LoggerContext
The LoggerContext is the anchor for the logging system.
|
Modifier and Type | Class and Description |
---|---|
class |
AsyncLoggerContext
LoggerContext that creates AsyncLogger objects. |
Modifier and Type | Field and Description |
---|---|
protected List<ConfigurationListener> |
AbstractConfiguration.listeners
Listeners for configuration changes.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfiguration.addListener(ConfigurationListener listener)
Add a listener for changes on the configuration.
|
void |
Configuration.addListener(ConfigurationListener listener) |
void |
AbstractConfiguration.removeListener(ConfigurationListener listener)
Remove a ConfigurationListener.
|
void |
Configuration.removeListener(ConfigurationListener listener) |
Modifier and Type | Method and Description |
---|---|
Watcher |
ConfigurationFileWatcher.newWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
HttpWatcher.newWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Constructor and Description |
---|
ConfigurationFileWatcher(Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
HttpWatcher(Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Modifier and Type | Method and Description |
---|---|
List<ConfigurationListener> |
AbstractWatcher.getListeners() |
List<ConfigurationListener> |
Watcher.getListeners()
Returns the list of listeners for this configuration.
|
List<ConfigurationListener> |
WrappedFileWatcher.getListeners() |
Modifier and Type | Method and Description |
---|---|
static <T extends Watcher> |
WatcherFactory.instantiate(String name,
Class<T> clazz,
Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
Watcher.newWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis)
Creates a new Watcher by copying the original and using the new Reconfigurable and listeners.
|
Watcher |
WrappedFileWatcher.newWatcher(Reconfigurable reconfigurable,
List<ConfigurationListener> listeners,
long lastModifiedMillis) |
Watcher |
WatcherFactory.newWatcher(Source source,
Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Constructor and Description |
---|
ReconfigurationRunnable(ConfigurationListener configurationListener,
Reconfigurable reconfigurable) |
Constructor and Description |
---|
AbstractWatcher(Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners) |
WrappedFileWatcher(FileWatcher watcher,
Configuration configuration,
Reconfigurable reconfigurable,
List<ConfigurationListener> configurationListeners,
long lastModifiedMillis) |
Copyright © 1999-2021 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.