View Javadoc

    1   package org.slf4j.event;
    2
    3   import org.slf4j.Marker;
    4   import org.slf4j.helpers.SubstituteLogger;
    5
    6   public class SubstituteLoggingEvent implements LoggingEvent {
    7
    8       Level level;
    9       Marker marker;
    10      String loggerName;
    11      SubstituteLogger logger;
    12      String threadName;
    13      String message;
    14      Object[] argArray;
    15      long timeStamp;
    16      Throwable throwable;
    17
    18      public Level getLevel() {
    19          return level;
    20      }
    21
    22      public void setLevel(Level level) {
    23          this.level = level;
    24      }
    25
    26      public Marker getMarker() {
    27          return marker;
    28      }
    29
    30      public void setMarker(Marker marker) {
    31          this.marker = marker;
    32      }
    33
    34      public String getLoggerName() {
    35          return loggerName;
    36      }
    37
    38      public void setLoggerName(String loggerName) {
    39          this.loggerName = loggerName;
    40      }
    41
    42      public SubstituteLogger getLogger() {
    43          return logger;
    44      }
    45
    46      public void setLogger(SubstituteLogger logger) {
    47          this.logger = logger;
    48      }
    49
    50      public String getMessage() {
    51          return message;
    52      }
    53
    54      public void setMessage(String message) {
    55          this.message = message;
    56      }
    57
    58      public Object[] getArgumentArray() {
    59          return argArray;
    60      }
    61
    62      public void setArgumentArray(Object[] argArray) {
    63          this.argArray = argArray;
    64      }
    65
    66      public long getTimeStamp() {
    67          return timeStamp;
    68      }
    69
    70      public void setTimeStamp(long timeStamp) {
    71          this.timeStamp = timeStamp;
    72      }
    73
    74      public String getThreadName() {
    75          return threadName;
    76      }
    77
    78      public void setThreadName(String threadName) {
    79          this.threadName = threadName;
    80      }
    81
    82      public Throwable getThrowable() {
    83          return throwable;
    84      }
    85
    86      public void setThrowable(Throwable throwable) {
    87          this.throwable = throwable;
    88      }
    89  }