diff src/goodjava/logging/Logger.java @ 1402:27efb1fcbcb5

move luan.lib to goodjava
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 17 Sep 2019 01:35:01 -0400
parents src/luan/lib/logging/Logger.java@f61df1aee8e1
children 6fc083e1d08c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/goodjava/logging/Logger.java	Tue Sep 17 01:35:01 2019 -0400
@@ -0,0 +1,14 @@
+package goodjava.logging;
+
+// Because slf4j is an overcomplicated mess 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);
+}