Mercurial Hosting > luan
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 1401:ef1620aa99cb | 1402:27efb1fcbcb5 |
|---|---|
| 1 package goodjava.logging; | |
| 2 | |
| 3 // Because slf4j is an overcomplicated mess 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 } |
