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 | Description |
---|---|---|
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.
|
void |
AsyncLoggerConfigDisruptor.setLogEventFactory(LogEventFactory logEventFactory) |
Modifier and Type | Method | Description |
---|---|---|
LogEventFactory |
LoggerConfig.getLogEventFactory() |
Returns the LogEventFactory.
|
Modifier and Type | Method | Description |
---|---|---|
void |
LoggerConfig.setLogEventFactory(LogEventFactory logEventFactory) |
Sets the LogEventFactory.
|
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultLogEventFactory |
Always creates new LogEvent instances.
|
class |
ReusableLogEventFactory |
Garbage-free LogEventFactory that reuses a single mutable log event.
|
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.