1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.classic.control;
15
16 import ch.qos.logback.classic.Level;
17
18 public class SetLevel extends ScenarioAction {
19 final String loggerName;
20 final Level level;
21
22 public SetLevel(Level level, String loggerName) {
23 this.level = level;
24 this.loggerName = loggerName;
25 }
26
27 public Level getLevel() {
28 return level;
29 }
30
31 public String getLoggerName() {
32 return loggerName;
33 }
34
35 public String toString() {
36 return "SetLevel(" + level + ", " + loggerName + ")";
37 }
38 }