Package | Description |
---|---|
org.apache.logging.log4j.core |
Implementation of Log4j 2.
|
org.apache.logging.log4j.core.appender.db.jpa |
The JPA Appender supports writing log events to a relational database using the Java Persistence API.
|
org.apache.logging.log4j.core.appender.db.jpa.converter |
The converters in this package implement the JPA 2.1 mechanism for converting non-standard types to and from
database fields.
|
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 |
LogEvent.getInstant()
Returns the timestamp when the message was logged.
|
Instant |
AbstractLogEvent.getInstant() |
Modifier and Type | Method and Description |
---|---|
Instant |
BasicLogEventEntity.getInstant() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLogEventWrapperEntity.setInstant(Instant instant)
A no-op mutator to satisfy JPA requirements, as this entity is write-only.
|
Modifier and Type | Method and Description |
---|---|
Instant |
InstantAttributeConverter.convertToEntityAttribute(String s) |
Modifier and Type | Method and Description |
---|---|
String |
InstantAttributeConverter.convertToDatabaseColumn(Instant instant) |
Modifier and Type | Method and Description |
---|---|
Instant |
RingBufferLogEvent.getInstant() |
Modifier and Type | Method and Description |
---|---|
Instant |
MutableLogEvent.getInstant() |
Instant |
Log4jLogEvent.getInstant()
Returns the timestamp when the message was logged.
|
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-2018 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.