Mercurial Hosting > luan
annotate src/goodjava/logging/Logger.java @ 1689:af22d6c120e4
improve http/serve.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 12 Jun 2022 18:48:01 -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 } |