KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jodd > log > SimpleLogger


1 package jodd.log;
2
3 /**
4  * Interface for all loggers. It is based on Log4J interface of class
5  * 'Logger'. However, it can be used for all other loggers.
6  */

7 public interface SimpleLogger {
8
9     public void debug(Object message);
10     public void debug(Object message, Throwable t);
11
12     public void info(Object message);
13     public void info(Object message, Throwable t);
14
15     public void warn(Object message);
16     public void warn(Object message, Throwable t);
17
18     public void error(Object message);
19     public void error(Object message, Throwable t);
20
21     public void fatal(Object message);
22     public void fatal(Object message, Throwable t);
23
24 }
25
Popular Tags