1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.core.status;
15
16 import java.util.Iterator;
17
18 public interface Status {
19
20 int INFO = 0;
21 int WARN = 1;
22 int ERROR = 2;
23
24 int getLevel();
25
26 int getEffectiveLevel();
27
28 Object getOrigin();
29
30 String getMessage();
31
32 Throwable getThrowable();
33
34
35
36
37
38 @Deprecated
39 default Long getDate() {
40 return getTimestamp();
41 }
42
43 long getTimestamp();
44
45 boolean hasChildren();
46
47 void add(Status child);
48
49 boolean remove(Status child);
50
51 Iterator<Status> iterator();
52
53 }