Uses of Interface
org.apache.logging.log4j.core.time.Instant
-
Packages that use Instant Package Description org.apache.log4j.bridge 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.jackson Classes and interfaces for serializing and deserializing Log4j 2 log events to XML and JSON using the Jackson library.org.apache.logging.log4j.core.layout Log4j 2 Layout support.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.org.apache.logging.log4j.layout.template.json.resolver org.apache.logging.log4j.layout.template.json.util -
-
Uses of Instant in org.apache.log4j.bridge
Methods in org.apache.log4j.bridge that return Instant Modifier and Type Method Description Instant
LogEventWrapper. getInstant()
-
Uses of Instant in org.apache.logging.log4j.core
Methods in org.apache.logging.log4j.core that return Instant Modifier and Type Method Description Instant
AbstractLogEvent. getInstant()
Instant
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 Modifier and Type Method Description Instant
RingBufferLogEvent. getInstant()
-
Uses of Instant in org.apache.logging.log4j.core.impl
Methods in org.apache.logging.log4j.core.impl that return Instant Modifier and Type Method Description Instant
Log4jLogEvent. getInstant()
Returns the Instant when the message was logged.Instant
MutableLogEvent. getInstant()
Methods in org.apache.logging.log4j.core.impl with parameters of type Instant Modifier and Type Method Description Log4jLogEvent.Builder
Log4jLogEvent.Builder. setInstant(Instant instant)
-
Uses of Instant in org.apache.logging.log4j.core.jackson
Methods in org.apache.logging.log4j.core.jackson that return Instant Modifier and Type Method Description abstract 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 Modifier and Type Method Description Instant
AbstractJacksonLayout.ReadOnlyLogEventWrapper. getInstant()
-
Uses of Instant in org.apache.logging.log4j.core.pattern
Methods in org.apache.logging.log4j.core.pattern with parameters of type Instant Modifier and Type Method Description (package private) java.lang.String
DatePatternConverter.FixedFormatter. format(Instant instant)
void
DatePatternConverter. format(Instant instant, java.lang.StringBuilder output)
(package private) abstract java.lang.String
DatePatternConverter.Formatter. format(Instant instant)
(package private) java.lang.String
DatePatternConverter.PatternFormatter. format(Instant instant)
(package private) java.lang.String
DatePatternConverter.UnixFormatter. format(Instant instant)
(package private) java.lang.String
DatePatternConverter.UnixMillisFormatter. format(Instant instant)
(package private) void
DatePatternConverter.FixedFormatter. formatToBuffer(Instant instant, java.lang.StringBuilder destination)
(package private) abstract void
DatePatternConverter.Formatter. formatToBuffer(Instant instant, java.lang.StringBuilder destination)
(package private) void
DatePatternConverter.PatternFormatter. formatToBuffer(Instant instant, java.lang.StringBuilder destination)
(package private) void
DatePatternConverter.UnixFormatter. formatToBuffer(Instant instant, java.lang.StringBuilder destination)
(package private) void
DatePatternConverter.UnixMillisFormatter. formatToBuffer(Instant instant, java.lang.StringBuilder destination)
private void
DatePatternConverter. formatWithoutAllocation(Instant instant, java.lang.StringBuilder output)
private void
DatePatternConverter. formatWithoutThreadLocals(Instant instant, java.lang.StringBuilder output)
Constructors in org.apache.logging.log4j.core.pattern with parameters of type Instant Constructor Description CachedTime(Instant instant)
-
Uses of Instant in org.apache.logging.log4j.core.time
Classes in org.apache.logging.log4j.core.time that implement Instant Modifier and Type Class Description class
MutableInstant
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 Modifier and Type Method Description void
MutableInstant. initFrom(Instant other)
-
Uses of Instant in org.apache.logging.log4j.core.util.datetime
Methods in org.apache.logging.log4j.core.util.datetime with parameters of type Instant Modifier and Type Method Description java.lang.String
FixedDateFormat. 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 Instant Modifier and Type Method Description private 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 Instant Modifier and Type Method Description java.lang.String
InstantFormatter. format(Instant instant)
void
InstantFormatter. format(Instant instant, java.lang.StringBuilder stringBuilder)
void
InstantFormatter.Formatter. format(Instant instant, java.lang.StringBuilder stringBuilder)
void
InstantFormatter.JavaDateTimeFormatter. format(Instant instant, java.lang.StringBuilder stringBuilder)
void
InstantFormatter.Log4jFastFormatter. format(Instant instant, java.lang.StringBuilder stringBuilder)
void
InstantFormatter.Log4jFixedFormatter. format(Instant instant, java.lang.StringBuilder stringBuilder)
private void
InstantFormatter.JavaDateTimeFormatter. formatInstant(Instant instant, java.lang.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)
-