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 | Field and Description |
---|---|
private static LogEventFactory |
LoggerConfig.LOG_EVENT_FACTORY |
private LogEventFactory |
LoggerConfig.logEventFactory |
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.
|