aboutsummaryrefslogtreecommitdiff
path: root/src/de/romjaki/logger/LoggedEvent.java
diff options
context:
space:
mode:
authormdway <romangraef@gmail.com>2017-08-18 16:19:38 +0200
committermdway <romangraef@gmail.com>2017-08-18 16:19:38 +0200
commit97eeb429647312e4f847109f00008ae82657d1b9 (patch)
treef0cf2d171670fa6bffe9fc43b333e109d319f1b4 /src/de/romjaki/logger/LoggedEvent.java
downloadLogging-97eeb429647312e4f847109f00008ae82657d1b9.tar.gz
Logging-97eeb429647312e4f847109f00008ae82657d1b9.tar.bz2
Logging-97eeb429647312e4f847109f00008ae82657d1b9.zip
Initial commit
Diffstat (limited to 'src/de/romjaki/logger/LoggedEvent.java')
-rw-r--r--src/de/romjaki/logger/LoggedEvent.java23
1 files changed, 23 insertions, 0 deletions
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;
+ }
+}