001 /******************************************************************************* 002 * Portions created by Sebastian Thomschke are copyright (c) 2005-2011 Sebastian 003 * Thomschke. 004 * 005 * All Rights Reserved. This program and the accompanying materials 006 * are made available under the terms of the Eclipse Public License v1.0 007 * which accompanies this distribution, and is available at 008 * http://www.eclipse.org/legal/epl-v10.html 009 * 010 * Contributors: 011 * Sebastian Thomschke - initial implementation. 012 *******************************************************************************/ 013 package net.sf.oval.logging; 014 015 /** 016 * @author Sebastian Thomschke 017 */ 018 public interface Logger 019 { 020 void debug(String msg); 021 022 void debug(String msg, Throwable t); 023 024 void error(String msg); 025 026 void error(String msg, Throwable t); 027 028 void info(String msg); 029 030 void info(String msg, Throwable t); 031 032 boolean isDebug(); 033 034 boolean isError(); 035 036 boolean isInfo(); 037 038 boolean isTrace(); 039 040 boolean isWarn(); 041 042 void trace(String msg); 043 044 void trace(String msg, Throwable t); 045 046 void warn(String msg); 047 048 void warn(String msg, Throwable t); 049 }