| 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 | Description |
|---|---|---|
void |
RingBufferLogEventTranslator.setBasicValues(AsyncLogger anAsyncLogger,
String aLoggerName,
Marker aMarker,
String theFqcn,
Level aLevel,
Message msg,
Throwable aThrowable,
ThreadContext.ContextStack aContextStack,
StackTraceElement aLocation,
Clock aClock,
NanoClock aNanoClock) |
|
void |
RingBufferLogEvent.setValues(AsyncLogger anAsyncLogger,
String aLoggerName,
Marker aMarker,
String theFqcn,
Level aLevel,
Message msg,
Throwable aThrowable,
StringMap mutableContextData,
ThreadContext.ContextStack aContextStack,
long threadId,
String threadName,
int threadPriority,
StackTraceElement aLocation,
Clock clock,
NanoClock nanoClock) |
| Modifier and Type | Interface | 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 | Description |
|---|---|---|
void |
MutableInstant.initFrom(Clock clock) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
FixedPreciseClock |
Implementation of the
PreciseClock interface that always returns a fixed time value. |
| Modifier and Type | Class | 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 | Description |
|---|---|---|
static Clock |
ClockFactory.getClock() |
Returns a
Clock instance depending on the value of system
property ClockFactory.PROPERTY_NAME. |
Copyright © 1999-2018. 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.