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