01: package net.javacoding.jspider.core.logging;
02:
03: /**
04: * $Id: Log.java,v 1.2 2003/03/27 17:44:03 vanrogu Exp $
05: *
06: * @author Günther Van Roey
07: */
08: public interface Log {
09:
10: boolean isDebugEnabled();
11:
12: boolean isErrorEnabled();
13:
14: boolean isFatalEnabled();
15:
16: boolean isInfoEnabled();
17:
18: boolean isTraceEnabled();
19:
20: boolean isWarnEnabled();
21:
22: void trace(Object o);
23:
24: void trace(Object o, Throwable throwable);
25:
26: void debug(Object o);
27:
28: void debug(Object o, Throwable throwable);
29:
30: void info(Object o);
31:
32: void info(Object o, Throwable throwable);
33:
34: void warn(Object o);
35:
36: void warn(Object o, Throwable throwable);
37:
38: void error(Object o);
39:
40: void error(Object o, Throwable throwable);
41:
42: void fatal(Object o);
43:
44: void fatal(Object o, Throwable throwable);
45:
46: }
|