diff src/luan/lib/logging/Logger.java @ 1337:8b61c8c4e07a

remove slf4j
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 15 Feb 2019 07:14:50 -0700
parents
children f61df1aee8e1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/luan/lib/logging/Logger.java	Fri Feb 15 07:14:50 2019 -0700
@@ -0,0 +1,14 @@
+package luan.lib.logging;
+
+// Because slf4j is an overcomplicated piece of shit that caches loggers when it shouldn't.
+
+public interface Logger {
+	public void error(String msg);
+	public void error(String msg,Throwable t);
+	public void warn(String msg);
+	public void warn(String msg,Throwable t);
+	public void info(String msg);
+	public void info(String msg,Throwable t);
+	public void debug(String msg);
+	public void debug(String msg,Throwable t);
+}