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.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Field and Description |
---|---|
private NanoClock |
AsyncLogger.nanoClock |
private NanoClock |
RingBufferLogEventTranslator.nanoClock |
Modifier and Type | Method and Description |
---|---|
(package private) NanoClock |
AsyncLogger.getNanoClock() |
Modifier and Type | Method and Description |
---|---|
void |
RingBufferLogEventTranslator.setBasicValues(AsyncLogger anAsyncLogger,
java.lang.String aLoggerName,
Marker aMarker,
java.lang.String theFqcn,
Level aLevel,
Message msg,
java.lang.Throwable aThrowable,
ThreadContext.ContextStack aContextStack,
java.lang.StackTraceElement aLocation,
Clock aClock,
NanoClock aNanoClock) |
void |
RingBufferLogEvent.setValues(AsyncLogger anAsyncLogger,
java.lang.String aLoggerName,
Marker aMarker,
java.lang.String theFqcn,
Level aLevel,
Message msg,
java.lang.Throwable aThrowable,
StringMap mutableContextData,
ThreadContext.ContextStack aContextStack,
long threadId,
java.lang.String threadName,
int threadPriority,
java.lang.StackTraceElement aLocation,
Clock clock,
NanoClock nanoClock) |
Modifier and Type | Field and Description |
---|---|
private NanoClock |
AbstractConfiguration.nanoClock |
Modifier and Type | Method and Description |
---|---|
NanoClock |
AbstractConfiguration.getNanoClock() |
NanoClock |
Configuration.getNanoClock()
Returns the
NanoClock instance for this configuration. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfiguration.setNanoClock(NanoClock nanoClock) |
void |
Configuration.setNanoClock(NanoClock nanoClock)
Sets the
NanoClock instance for this configuration. |
Modifier and Type | Field and Description |
---|---|
private static NanoClock |
Log4jLogEvent.nanoClock |
Modifier and Type | Method and Description |
---|---|
static NanoClock |
Log4jLogEvent.getNanoClock()
Returns the
NanoClock to use for creating the nanoTime timestamp of log events. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
MutableLogEvent.initTime(Clock clock,
NanoClock nanoClock) |
static void |
Log4jLogEvent.setNanoClock(NanoClock nanoClock)
Sets the
NanoClock to use for creating the nanoTime timestamp of log events. |
Modifier and Type | Class and Description |
---|---|
class |
DummyNanoClock
Implementation of the
NanoClock interface that always returns a fixed value. |
class |
SystemNanoClock
Implementation of the
NanoClock interface that returns the system nano time. |