Package | Description |
---|---|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
Modifier and Type | Field and Description |
---|---|
private com.lmax.disruptor.dsl.Disruptor<RingBufferLogEvent> |
AsyncLoggerDisruptor.disruptor |
Modifier and Type | Method and Description |
---|---|
RingBufferLogEvent |
RingBufferLogEvent.Factory.newInstance() |
Modifier and Type | Method and Description |
---|---|
(package private) static com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent> |
DisruptorUtil.getAsyncLoggerExceptionHandler() |
(package private) com.lmax.disruptor.dsl.Disruptor<RingBufferLogEvent> |
AsyncLoggerDisruptor.getDisruptor() |
Modifier and Type | Method and Description |
---|---|
void |
AsyncLogger.actualAsyncLog(RingBufferLogEvent event)
This method is called by the EventHandler that processes the RingBufferLogEvent in a separate thread.
|
private static StringMap |
AsyncLogger.getContextData(RingBufferLogEvent event) |
void |
RingBufferLogEventHandler.onEvent(RingBufferLogEvent event,
long sequence,
boolean endOfBatch) |
private void |
AsyncLogger.onPropertiesPresent(RingBufferLogEvent event,
java.util.List<Property> properties) |
void |
RingBufferLogEventTranslator.translateTo(RingBufferLogEvent event,
long sequence) |
void |
AsyncLogger.translateTo(RingBufferLogEvent event,
long sequence,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
AsyncLoggerDisruptor.enqueueLogMessageWhenQueueFull(com.lmax.disruptor.EventTranslatorVararg<RingBufferLogEvent> translator,
AsyncLogger asyncLogger,
java.lang.StackTraceElement location,
java.lang.String fqcn,
Level level,
Marker marker,
Message msg,
java.lang.Throwable thrown) |
private boolean |
AsyncLoggerDisruptor.hasLog4jBeenShutDown(com.lmax.disruptor.dsl.Disruptor<RingBufferLogEvent> aDisruptor)
Returns
true if the specified disruptor is null. |