Package | Description |
---|---|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
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 |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
static NanoClock |
NanoClockFactory.createNanoClock()
Returns a new
NanoClock determined by the mode of this factory. |
abstract NanoClock |
NanoClockFactory.Mode.createNanoClock() |
Copyright © 1999-2017 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.