Package org.slf4j.event
Interface LoggingEvent
-
- All Known Implementing Classes:
DefaultLoggingEvent,SubstituteLoggingEvent
public interface LoggingEvent
The minimal interface sufficient for the restitution of data passed by the user to the SLF4J API.- Since:
- 1.7.15
- Author:
- Ceki Gülcü
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.Object[]getArgumentArray()java.util.List<java.lang.Object>getArguments()default java.lang.StringgetCallerBoundary()Returns the presumed caller boundary provided by the logging library (not the user of the library).java.util.List<KeyValuePair>getKeyValuePairs()LevelgetLevel()java.lang.StringgetLoggerName()java.util.List<Marker>getMarkers()List of markers in the event, might be null.java.lang.StringgetMessage()java.lang.StringgetThreadName()java.lang.ThrowablegetThrowable()longgetTimeStamp()
-
-
-
Method Detail
-
getLoggerName
java.lang.String getLoggerName()
-
getMessage
java.lang.String getMessage()
-
getArguments
java.util.List<java.lang.Object> getArguments()
-
getArgumentArray
java.lang.Object[] getArgumentArray()
-
getMarkers
java.util.List<Marker> getMarkers()
List of markers in the event, might be null.- Returns:
- markers in the event, might be null.
-
getKeyValuePairs
java.util.List<KeyValuePair> getKeyValuePairs()
-
getThrowable
java.lang.Throwable getThrowable()
-
getTimeStamp
long getTimeStamp()
-
getThreadName
java.lang.String getThreadName()
-
getCallerBoundary
default java.lang.String getCallerBoundary()
Returns the presumed caller boundary provided by the logging library (not the user of the library). Null by default.- Returns:
- presumed caller, null by default.
-
-