01: /*******************************************************************************
02: * Portions created by Sebastian Thomschke are copyright (c) 2005-2007 Sebastian
03: * Thomschke.
04: *
05: * All Rights Reserved. This program and the accompanying materials
06: * are made available under the terms of the Eclipse Public License v1.0
07: * which accompanies this distribution, and is available at
08: * http://www.eclipse.org/legal/epl-v10.html
09: *
10: * Contributors:
11: * Sebastian Thomschke - initial implementation.
12: *******************************************************************************/package net.sf.oval.logging;
13:
14: /**
15: * @author Sebastian Thomschke
16: */
17: public interface Logger {
18: void debug(String msg);
19:
20: void debug(String msg, Throwable t);
21:
22: void error(String msg);
23:
24: void error(String msg, Throwable t);
25:
26: void info(String msg);
27:
28: void info(String msg, Throwable t);
29:
30: boolean isDebug();
31:
32: boolean isError();
33:
34: boolean isInfo();
35:
36: boolean isTrace();
37:
38: boolean isWarn();
39:
40: void trace(String msg);
41:
42: void trace(String msg, Throwable t);
43:
44: void warn(String msg);
45:
46: void warn(String msg, Throwable t);
47: }
|