Package | Description |
---|---|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
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 | Method and Description |
---|---|
void |
RingBufferLogEventTranslator.setBasicValues(AsyncLogger anAsyncLogger,
String aLoggerName,
org.apache.logging.log4j.Marker aMarker,
String theFqcn,
org.apache.logging.log4j.Level aLevel,
org.apache.logging.log4j.message.Message msg,
Throwable aThrowable,
org.apache.logging.log4j.ThreadContext.ContextStack aContextStack,
StackTraceElement aLocation,
Clock aClock,
NanoClock aNanoClock) |
void |
RingBufferLogEvent.setValues(AsyncLogger anAsyncLogger,
String aLoggerName,
org.apache.logging.log4j.Marker aMarker,
String theFqcn,
org.apache.logging.log4j.Level aLevel,
org.apache.logging.log4j.message.Message msg,
Throwable aThrowable,
org.apache.logging.log4j.util.StringMap mutableContextData,
org.apache.logging.log4j.ThreadContext.ContextStack aContextStack,
long threadId,
String threadName,
int threadPriority,
StackTraceElement aLocation,
Clock clock,
NanoClock nanoClock) |
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 |
---|---|
static Clock |
ClockFactory.getClock()
Returns a
Clock instance depending on the value of system
property ClockFactory.PROPERTY_NAME . |
Copyright © 1999-2021 The Apache Software Foundation. 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.