LoggingEvent.java
package org.slf4j.event;
import java.util.List;
import org.slf4j.Marker;
/**
* The minimal interface sufficient for the restitution of data passed
* by the user to the SLF4J API.
*
* @author Ceki Gülcü
* @since 1.7.15
*/
public interface LoggingEvent {
Level getLevel();
String getLoggerName();
String getMessage();
List<Object> getArguments();
Object[] getArgumentArray();
List<Marker> getMarkers();
List<KeyValuePair> getKeyValuePairs();
Throwable getThrowable();
long getTimeStamp();
String getThreadName();
/**
* Returns the presumed caller boundary provided by the logging library (not the user of the library).
* Null by default.
*
* @return presumed caller, null by default.
*/
default String getCallerBoundary() {
return null;
}
}