refactored logging so that log4j is no longer a runtime depedency
updates to documentation to come git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138807 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
28
src/java/org/apache/commons/logging/Log.java
Normal file
28
src/java/org/apache/commons/logging/Log.java
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Copyright (C) The Apache Software Foundation. All rights reserved.
|
||||
*
|
||||
* This software is published under the terms of the Apache Software License
|
||||
* version 1.1, a copy of which has been included with this distribution in
|
||||
* the LICENSE file.
|
||||
*/
|
||||
|
||||
package org.apache.commons.httpclient.log;
|
||||
|
||||
/**
|
||||
* A simple logging interface abstracting log4j.
|
||||
* @author Rod Waldhoff
|
||||
* @version $Id: Log.java,v 1.1 2001/08/02 16:27:06 rwaldhoff Exp $
|
||||
*/
|
||||
public interface Log {
|
||||
public void assert(boolean assertion, String msg);
|
||||
public void debug(Object message);
|
||||
public void debug(Object message, Throwable t);
|
||||
public void info(Object message);
|
||||
public void info(Object message, Throwable t);
|
||||
public void warn(Object message);
|
||||
public void warn(Object message, Throwable t);
|
||||
public void error(Object message);
|
||||
public void error(Object message, Throwable t);
|
||||
public void fatal(Object message);
|
||||
public void fatal(Object message, Throwable t);
|
||||
}
|
||||
Reference in New Issue
Block a user