public interface Slf4jLogRecord
Modifier and Type | Method and Description |
---|---|
void |
attach(Object obj) |
static int |
compareByTimestamp(Slf4jLogRecord a,
Slf4jLogRecord b) |
Object[] |
getArguments() |
Set<Object> |
getAttachments() |
Object[] |
getExtraArguments() |
Object[] |
getExtraArgumentsRaw() |
Throwable |
getExtraThrowable() |
Level |
getLevel() |
String |
getLoggerName() |
org.slf4j.Marker |
getMarker() |
String |
getMessage() |
String |
getMessageFormat() |
int |
getNrMessageArguments() |
String |
getThreadName() |
long |
getTimeStamp() |
default Instant |
getTimeStampInstant() |
boolean |
hasAttachment(Object obj) |
boolean |
isLogged()
Indicates that this log record has been sent to the logging backend to persist.
|
void |
setIsLogged() |
default org.spf4j.base.avro.LogRecord |
toLogRecord(String origin,
String ptraceId) |
@Nonnull Object[] getArguments()
@Nonnull Object[] getExtraArgumentsRaw()
@Nullable Throwable getExtraThrowable()
Level getLevel()
String getLoggerName()
@Nullable org.slf4j.Marker getMarker()
String getMessageFormat()
int getNrMessageArguments()
String getThreadName()
long getTimeStamp()
default Instant getTimeStampInstant()
boolean isLogged()
void setIsLogged()
void attach(Object obj)
boolean hasAttachment(Object obj)
static int compareByTimestamp(Slf4jLogRecord a, Slf4jLogRecord b)
Copyright © 2021 SPF4J. All rights reserved.