Mercurial Hosting > luan
annotate src/goodjava/logging/Logger.java @ 1492:aaac1d29edea
better io
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 02 May 2020 22:25:56 -0600 |
parents | 219f2b937f2b |
children |
rev | line source |
---|---|
1402
27efb1fcbcb5
move luan.lib to goodjava
Franklin Schmidt <fschmidt@gmail.com>
parents:
1339
diff
changeset
|
1 package goodjava.logging; |
1337 | 2 |
3 | |
4 public interface Logger { | |
5 public void error(String msg); | |
6 public void error(String msg,Throwable t); | |
7 public void warn(String msg); | |
8 public void warn(String msg,Throwable t); | |
9 public void info(String msg); | |
10 public void info(String msg,Throwable t); | |
1448 | 11 public boolean isInfoEnabled(); |
1337 | 12 public void debug(String msg); |
13 public void debug(String msg,Throwable t); | |
1448 | 14 public boolean isDebugEnabled(); |
1337 | 15 } |