Mercurial Hosting > luan
annotate 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 |
rev | line source |
---|---|
1337 | 1 package luan.lib.logging; |
2 | |
3 // Because slf4j is an overcomplicated piece of shit that caches loggers when it shouldn't. | |
4 | |
5 public interface Logger { | |
6 public void error(String msg); | |
7 public void error(String msg,Throwable t); | |
8 public void warn(String msg); | |
9 public void warn(String msg,Throwable t); | |
10 public void info(String msg); | |
11 public void info(String msg,Throwable t); | |
12 public void debug(String msg); | |
13 public void debug(String msg,Throwable t); | |
14 } |