Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
Modifier and Type | Field and Description |
---|---|
private BlockingQueueFactory<LogEvent> |
AsyncAppender.Builder.blockingQueueFactory |
Modifier and Type | Method and Description |
---|---|
AsyncAppender.Builder |
AsyncAppender.Builder.setBlockingQueueFactory(BlockingQueueFactory<LogEvent> blockingQueueFactory) |
Constructor and Description |
---|
AsyncAppender(java.lang.String name,
Filter filter,
AppenderRef[] appenderRefs,
java.lang.String errorRef,
int queueSize,
boolean blocking,
boolean ignoreExceptions,
long shutdownTimeout,
Configuration config,
boolean includeLocation,
BlockingQueueFactory<LogEvent> blockingQueueFactory) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayBlockingQueueFactory<E>
Factory for creating instances of
ArrayBlockingQueue . |
class |
JCToolsBlockingQueueFactory<E>
Factory for creating instances of BlockingQueues backed by JCTools
MpscArrayQueue . |
class |
LinkedTransferQueueFactory<E>
Factory for creating instances of
LinkedTransferQueue . |