Package org.slf4j.event
Class SubstituteLoggingEvent
- java.lang.Object
-
- org.slf4j.event.SubstituteLoggingEvent
-
- All Implemented Interfaces:
LoggingEvent
public class SubstituteLoggingEvent extends java.lang.Object implements LoggingEvent
-
-
Constructor Summary
Constructors Constructor Description SubstituteLoggingEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMarker(Marker marker)java.lang.Object[]getArgumentArray()java.util.List<java.lang.Object>getArguments()java.util.List<KeyValuePair>getKeyValuePairs()LevelgetLevel()SubstituteLoggergetLogger()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()voidsetArgumentArray(java.lang.Object[] argArray)voidsetLevel(Level level)voidsetLogger(SubstituteLogger logger)voidsetLoggerName(java.lang.String loggerName)voidsetMessage(java.lang.String message)voidsetThreadName(java.lang.String threadName)voidsetThrowable(java.lang.Throwable throwable)voidsetTimeStamp(long timeStamp)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.slf4j.event.LoggingEvent
getCallerBoundary
-
-
-
-
Constructor Detail
-
SubstituteLoggingEvent
public SubstituteLoggingEvent()
-
-
Method Detail
-
getLevel
public Level getLevel()
- Specified by:
getLevelin interfaceLoggingEvent
-
getMarkers
public java.util.List<Marker> getMarkers()
Description copied from interface:LoggingEventList of markers in the event, might be null.- Specified by:
getMarkersin interfaceLoggingEvent- Returns:
- markers in the event, might be null.
-
getLoggerName
public java.lang.String getLoggerName()
- Specified by:
getLoggerNamein interfaceLoggingEvent
-
setLoggerName
public void setLoggerName(java.lang.String loggerName)
-
getLogger
public SubstituteLogger getLogger()
-
setLogger
public void setLogger(SubstituteLogger logger)
-
getMessage
public java.lang.String getMessage()
- Specified by:
getMessagein interfaceLoggingEvent
-
setMessage
public void setMessage(java.lang.String message)
-
getArgumentArray
public java.lang.Object[] getArgumentArray()
- Specified by:
getArgumentArrayin interfaceLoggingEvent
-
setArgumentArray
public void setArgumentArray(java.lang.Object[] argArray)
-
getArguments
public java.util.List<java.lang.Object> getArguments()
- Specified by:
getArgumentsin interfaceLoggingEvent
-
getTimeStamp
public long getTimeStamp()
- Specified by:
getTimeStampin interfaceLoggingEvent
-
setTimeStamp
public void setTimeStamp(long timeStamp)
-
getThreadName
public java.lang.String getThreadName()
- Specified by:
getThreadNamein interfaceLoggingEvent
-
setThreadName
public void setThreadName(java.lang.String threadName)
-
getThrowable
public java.lang.Throwable getThrowable()
- Specified by:
getThrowablein interfaceLoggingEvent
-
setThrowable
public void setThrowable(java.lang.Throwable throwable)
-
getKeyValuePairs
public java.util.List<KeyValuePair> getKeyValuePairs()
- Specified by:
getKeyValuePairsin interfaceLoggingEvent
-
-