Package | Description |
---|---|
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.impl |
Log4j 2 private implementation classes.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncLoggerConfigDisruptor.setLogEventFactory(LogEventFactory logEventFactory) |
void |
AsyncLoggerConfigDelegate.setLogEventFactory(LogEventFactory logEventFactory)
Notifies the delegate what LogEventFactory an AsyncLoggerConfig is using, so the delegate can determine
whether to populate the ring buffer with mutable log events or not.
|
Modifier and Type | Method and Description |
---|---|
LogEventFactory |
LoggerConfig.getLogEventFactory()
Returns the LogEventFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
LoggerConfig.setLogEventFactory(LogEventFactory logEventFactory)
Sets the LogEventFactory.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultLogEventFactory
Always creates new LogEvent instances.
|
class |
ReusableLogEventFactory
Garbage-free LogEventFactory that reuses a single mutable log event.
|
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.