From 97eeb429647312e4f847109f00008ae82657d1b9 Mon Sep 17 00:00:00 2001 From: mdway Date: Fri, 18 Aug 2017 16:19:38 +0200 Subject: Initial commit --- src/de/romjaki/logger/LoggedEvent.java | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/de/romjaki/logger/LoggedEvent.java (limited to 'src/de/romjaki/logger/LoggedEvent.java') diff --git a/src/de/romjaki/logger/LoggedEvent.java b/src/de/romjaki/logger/LoggedEvent.java new file mode 100644 index 0000000..143ab0c --- /dev/null +++ b/src/de/romjaki/logger/LoggedEvent.java @@ -0,0 +1,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; + } +} -- cgit