Package | Description |
---|---|
org.apache.logging.log4j.core.appender.rolling.action |
Support classes for the Rolling File Appender.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.filter |
Log4j 2 Filter support.
|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
org.apache.logging.log4j.core.time | |
org.apache.logging.log4j.core.time.internal | |
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Field and Description |
---|---|
private static Clock |
IfLastModified.CLOCK |
Modifier and Type | Field and Description |
---|---|
private Clock |
RingBufferLogEventTranslator.clock |
private static Clock |
AsyncLogger.CLOCK |
Modifier and Type | Method and Description |
---|---|
private void |
RingBufferLogEvent.initTime(Clock clock) |
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 static Clock |
TimeFilter.CLOCK |
Modifier and Type | Field and Description |
---|---|
private static Clock |
ReusableLogEventFactory.CLOCK |
private static Clock |
Log4jLogEvent.CLOCK |
Modifier and Type | Method and Description |
---|---|
(package private) void |
MutableLogEvent.initTime(Clock clock,
NanoClock nanoClock) |
Constructor and Description |
---|
Log4jLogEvent(java.lang.String loggerName,
Marker marker,
java.lang.String loggerFQCN,
Level level,
Message message,
java.lang.Throwable thrown,
ThrowableProxy thrownProxy,
StringMap contextData,
ThreadContext.ContextStack contextStack,
long threadId,
java.lang.String threadName,
int threadPriority,
java.lang.StackTraceElement source,
Clock clock,
long nanoTime) |
Modifier and Type | Interface and Description |
---|---|
interface |
PreciseClock
Extension of the
Clock interface that is able to provide more accurate time information than milliseconds
since the epoch. |
Modifier and Type | Method and Description |
---|---|
void |
MutableInstant.initFrom(Clock clock) |
Modifier and Type | Class and Description |
---|---|
class |
FixedPreciseClock
Implementation of the
PreciseClock interface that always returns a fixed time value. |
Modifier and Type | Class and Description |
---|---|
class |
CachedClock
Implementation of the
Clock interface that tracks the time in a
private long field that is updated by a background thread once every
millisecond. |
class |
CoarseCachedClock
This Clock implementation is similar to CachedClock.
|
class |
SystemClock
Implementation of the
Clock interface that returns the system time. |
class |
SystemMillisClock
Implementation of the
Clock interface that returns the system time in millisecond granularity. |
Modifier and Type | Method and Description |
---|---|
private static Clock |
ClockFactory.createClock() |
static Clock |
ClockFactory.getClock()
Returns a
Clock instance depending on the value of system
property ClockFactory.PROPERTY_NAME . |
private static Clock |
ClockFactory.logSupportedPrecision(Clock clock) |
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<java.lang.String,Supplier<Clock>> |
ClockFactory.aliases() |
Modifier and Type | Method and Description |
---|---|
private static Clock |
ClockFactory.logSupportedPrecision(Clock clock) |