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.
Classes and interfaces for serializing and deserializing Log4j 2 log events to XML and JSON using the Jackson
library.
Log4j 2 Layout support.
Provides classes implementing format specifiers in conversion patterns.
Log4j 2 date formatting classes.
-
Uses of Instant in org.apache.log4j.bridge
Methods in org.apache.log4j.bridge that return Instant -
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.jackson
Methods in org.apache.logging.log4j.core.jackson that return InstantModifier and TypeMethodDescriptionabstract Instant
LogEventJsonMixIn.getInstant()
abstract Instant
LogEventWithContextListMixIn.getInstant()
-
Uses of Instant in org.apache.logging.log4j.core.layout
Methods in org.apache.logging.log4j.core.layout that return 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 TypeMethodDescription(package private) String
void
DatePatternConverter.format
(Instant instant, StringBuilder output) (package private) abstract String
(package private) String
(package private) String
(package private) String
(package private) void
DatePatternConverter.FixedFormatter.formatToBuffer
(Instant instant, StringBuilder destination) (package private) abstract void
DatePatternConverter.Formatter.formatToBuffer
(Instant instant, StringBuilder destination) (package private) void
DatePatternConverter.PatternFormatter.formatToBuffer
(Instant instant, StringBuilder destination) (package private) void
DatePatternConverter.UnixFormatter.formatToBuffer
(Instant instant, StringBuilder destination) (package private) void
DatePatternConverter.UnixMillisFormatter.formatToBuffer
(Instant instant, StringBuilder destination) private void
DatePatternConverter.formatWithoutAllocation
(Instant instant, StringBuilder output) private void
DatePatternConverter.formatWithoutThreadLocals
(Instant instant, StringBuilder output) Constructors in org.apache.logging.log4j.core.pattern with parameters of type Instant -
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) int
FixedDateFormat.formatInstant
(Instant instant, char[] buffer, int startPos) -
Uses of Instant in org.apache.logging.log4j.layout.template.json.resolver
Methods in org.apache.logging.log4j.layout.template.json.resolver with parameters of type InstantModifier and TypeMethodDescriptionprivate static long
TimestampResolver.epochNanos
(Instant instant) (package private) abstract void
TimestampResolver.EpochResolver.resolve
(Instant logEventInstant, JsonWriter jsonWriter) -
Uses of Instant in org.apache.logging.log4j.layout.template.json.util
Methods in org.apache.logging.log4j.layout.template.json.util with parameters of type InstantModifier and TypeMethodDescriptionvoid
InstantFormatter.format
(Instant instant, StringBuilder stringBuilder) void
InstantFormatter.Formatter.format
(Instant instant, StringBuilder stringBuilder) void
InstantFormatter.JavaDateTimeFormatter.format
(Instant instant, StringBuilder stringBuilder) void
InstantFormatter.Log4jFastFormatter.format
(Instant instant, StringBuilder stringBuilder) void
InstantFormatter.Log4jFixedFormatter.format
(Instant instant, StringBuilder stringBuilder) private void
InstantFormatter.JavaDateTimeFormatter.formatInstant
(Instant instant, StringBuilder stringBuilder) boolean
InstantFormatter.Formatter.isInstantMatching
(Instant instant1, Instant instant2) boolean
InstantFormatter.isInstantMatching
(Instant instant1, Instant instant2) Checks if the givenInstant
s are equal from the point of view of the employed formatter.boolean
InstantFormatter.JavaDateTimeFormatter.isInstantMatching
(Instant instant1, Instant instant2) boolean
InstantFormatter.Log4jFastFormatter.isInstantMatching
(Instant instant1, Instant instant2) boolean
InstantFormatter.Log4jFixedFormatter.isInstantMatching
(Instant instant1, Instant instant2)