Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.async |
Provides Asynchronous Logger classes and interfaces for low-latency logging.
|
org.apache.logging.log4j.core.impl |
Log4j 2 private implementation classes.
|
org.apache.logging.log4j.core.pattern |
Provides classes implementing format specifiers in conversion patterns.
|
org.apache.logging.log4j.core.time | |
org.apache.logging.log4j.core.util.datetime |
Log4j 2 date formatting classes.
|
Modifier and Type | Method and Description |
---|---|
Instant |
AbstractLogEvent.getInstant() |
Instant |
LogEvent.getInstant()
Returns the Instant when the message was logged.
|
Modifier and Type | Method and Description |
---|---|
Instant |
RingBufferLogEvent.getInstant() |
Modifier and Type | Method and Description |
---|---|
Instant |
Log4jLogEvent.getInstant()
Returns the Instant when the message was logged.
|
Instant |
MutableLogEvent.getInstant() |
Modifier and Type | Method and Description |
---|---|
Log4jLogEvent.Builder |
Log4jLogEvent.Builder.setInstant(Instant instant) |
Modifier and Type | Method and Description |
---|---|
void |
DatePatternConverter.format(Instant instant,
StringBuilder output) |
Modifier and Type | Class and Description |
---|---|
class |
MutableInstant
An instantaneous point on the time line, used for high-precision log event timestamps.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableInstant.initFrom(Instant other) |
Modifier and Type | Method and Description |
---|---|
String |
FixedDateFormat.formatInstant(Instant instant) |
int |
FixedDateFormat.formatInstant(Instant instant,
char[] buffer,
int startPos) |
Copyright © 1999-2023 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.