Uses of Interface
org.apache.logging.log4j.core.time.Instant
Packages that use Instant
Package
Description
Implementation of Log4j 2.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Log4j 2 private implementation classes.
Provides classes implementing format specifiers in conversion patterns.
Log4j date and time formatting classes.
Utilities for formatting log event
Instant
s.-
Uses of Instant in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return InstantModifier and TypeMethodDescriptionAbstractLogEvent.getInstant()
LogEvent.getInstant()
Returns the Instant when the message was logged. -
Uses of Instant in org.apache.logging.log4j.core.async
Methods in org.apache.logging.log4j.core.async that return Instant -
Uses of Instant in org.apache.logging.log4j.core.impl
Methods in org.apache.logging.log4j.core.impl that return InstantModifier and TypeMethodDescriptionLog4jLogEvent.getInstant()
Returns the Instant when the message was logged.MutableLogEvent.getInstant()
Methods in org.apache.logging.log4j.core.impl with parameters of type Instant -
Uses of Instant in org.apache.logging.log4j.core.pattern
Methods in org.apache.logging.log4j.core.pattern with parameters of type InstantModifier and TypeMethodDescriptionvoid
DatePatternConverter.format
(Instant instant, StringBuilder buffer) Deprecated. -
Uses of Instant in org.apache.logging.log4j.core.time
Classes in org.apache.logging.log4j.core.time that implement InstantModifier and TypeClassDescriptionclass
An instantaneous point on the time line, used for high-precision log event timestamps.Methods in org.apache.logging.log4j.core.time with parameters of type Instant -
Uses of Instant in org.apache.logging.log4j.core.util.datetime
Methods in org.apache.logging.log4j.core.util.datetime with parameters of type InstantModifier and TypeMethodDescriptionFixedDateFormat.formatInstant
(Instant instant) Deprecated.int
FixedDateFormat.formatInstant
(Instant instant, char[] buffer, int startPos) Deprecated. -
Uses of Instant in org.apache.logging.log4j.core.util.internal.instant
Methods in org.apache.logging.log4j.core.util.internal.instant with parameters of type InstantModifier and TypeMethodDescriptiondefault String
void
InstantFormatter.formatTo
(StringBuilder buffer, Instant instant) void
InstantNumberFormatter.formatTo
(StringBuilder buffer, Instant instant)
2.25.0
, this method is deprecated and planned to be removed in the next major release.