aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/romjaki/logger/LoggedEvent.java
blob: 143ab0c5f80e446220646b4a533aa0b9637f5e10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package de.romjaki.logger;

/**
 * Created by RGR on 17.08.2017.
 */
public class LoggedEvent extends LogEvent {
    private final Level level;
    private final String text;

    public LoggedEvent(Class<?> clazz, Level level, String text) {
        super(clazz);
        this.level = level;
        this.text = text;
    }

    public Level getLevel() {
        return level;
    }

    public String getText() {
        return text;
    }
}