Mercurial Hosting > luan
annotate src/goodjava/logging/Logger.java @ 2035:00bbfef1a86b acme-tiny
added Thread.try_synchronized
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 05 Nov 2025 11:20:47 -0700 |
| 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 } |
