org.slf4j.event.SubstituteLoggingEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redisson-all Show documentation
Show all versions of redisson-all Show documentation
Easy Redis Java client and Real-Time Data Platform. Valkey compatible. Sync/Async/RxJava3/Reactive API. Client side caching. Over 50 Redis based Java objects and services: JCache API, Apache Tomcat, Hibernate, Spring, Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Scheduler, RPC
package org.slf4j.event;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.slf4j.Marker;
import org.slf4j.helpers.SubstituteLogger;
public class SubstituteLoggingEvent implements LoggingEvent {
Level level;
List markers;
String loggerName;
SubstituteLogger logger;
String threadName;
String message;
Object[] argArray;
List keyValuePairList;
long timeStamp;
Throwable throwable;
public Level getLevel() {
return level;
}
public void setLevel(Level level) {
this.level = level;
}
public List getMarkers() {
return markers;
}
public void addMarker(Marker marker) {
if (marker == null)
return;
if (markers == null) {
markers = new ArrayList<>(2);
}
markers.add(marker);
}
public String getLoggerName() {
return loggerName;
}
public void setLoggerName(String loggerName) {
this.loggerName = loggerName;
}
public SubstituteLogger getLogger() {
return logger;
}
public void setLogger(SubstituteLogger logger) {
this.logger = logger;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public Object[] getArgumentArray() {
return argArray;
}
public void setArgumentArray(Object[] argArray) {
this.argArray = argArray;
}
@Override
public List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy