ca.uhn.log
Class HapiLogImpl

java.lang.Object
  extended by ca.uhn.log.HapiLogImpl
All Implemented Interfaces:
HapiLog, org.apache.commons.logging.Log

public class HapiLogImpl
extends java.lang.Object
implements HapiLog

Provides a base implementation of the HapiLog interface. It delegates all method calls declared by Log to the delegate specified in the contructor.

Version:
$Revision: 1.1 $ updated on $Date: 2007/02/19 02:24:52 $ by $Author: jamesagnew $
Author:
Alexei Guevara

Method Summary
 void debug(java.lang.Object message)
           
 void debug(java.lang.Object message, java.lang.Throwable t)
           
 void debug(java.lang.String msgPattern, java.lang.Object[] values, java.lang.Throwable t)
           
 void error(java.lang.Object message)
           
 void error(java.lang.Object message, java.lang.Throwable t)
           
 void fatal(java.lang.Object message)
           
 void fatal(java.lang.Object message, java.lang.Throwable t)
           
 void info(java.lang.Object message)
           
 void info(java.lang.Object message, java.lang.Throwable t)
           
 boolean isDebugEnabled()
           
 boolean isErrorEnabled()
           
 boolean isFatalEnabled()
           
 boolean isInfoEnabled()
           
 boolean isTraceEnabled()
           
 boolean isWarnEnabled()
           
 java.lang.String toString()
           
 void trace(java.lang.Object message)
           
 void trace(java.lang.Object message, java.lang.Throwable t)
           
 void warn(java.lang.Object message)
           
 void warn(java.lang.Object message, java.lang.Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

debug

public void debug(java.lang.Object message)
Specified by:
debug in interface org.apache.commons.logging.Log
Parameters:
message -

debug

public void debug(java.lang.Object message,
                  java.lang.Throwable t)
Specified by:
debug in interface org.apache.commons.logging.Log
Parameters:
message -
t -

error

public void error(java.lang.Object message)
Specified by:
error in interface org.apache.commons.logging.Log
Parameters:
message -

error

public void error(java.lang.Object message,
                  java.lang.Throwable t)
Specified by:
error in interface org.apache.commons.logging.Log
Parameters:
message -
t -

fatal

public void fatal(java.lang.Object message)
Specified by:
fatal in interface org.apache.commons.logging.Log
Parameters:
message -

fatal

public void fatal(java.lang.Object message,
                  java.lang.Throwable t)
Specified by:
fatal in interface org.apache.commons.logging.Log
Parameters:
message -
t -

info

public void info(java.lang.Object message)
Specified by:
info in interface org.apache.commons.logging.Log
Parameters:
message -

info

public void info(java.lang.Object message,
                 java.lang.Throwable t)
Specified by:
info in interface org.apache.commons.logging.Log
Parameters:
message -
t -

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface org.apache.commons.logging.Log
Returns:

isErrorEnabled

public boolean isErrorEnabled()
Specified by:
isErrorEnabled in interface org.apache.commons.logging.Log
Returns:

isFatalEnabled

public boolean isFatalEnabled()
Specified by:
isFatalEnabled in interface org.apache.commons.logging.Log
Returns:

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface org.apache.commons.logging.Log
Returns:

isTraceEnabled

public boolean isTraceEnabled()
Specified by:
isTraceEnabled in interface org.apache.commons.logging.Log
Returns:

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface org.apache.commons.logging.Log
Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

trace

public void trace(java.lang.Object message)
Specified by:
trace in interface org.apache.commons.logging.Log
Parameters:
message -

trace

public void trace(java.lang.Object message,
                  java.lang.Throwable t)
Specified by:
trace in interface org.apache.commons.logging.Log
Parameters:
message -
t -

warn

public void warn(java.lang.Object message)
Specified by:
warn in interface org.apache.commons.logging.Log
Parameters:
message -

warn

public void warn(java.lang.Object message,
                 java.lang.Throwable t)
Specified by:
warn in interface org.apache.commons.logging.Log
Parameters:
message -
t -

debug

public void debug(java.lang.String msgPattern,
                  java.lang.Object[] values,
                  java.lang.Throwable t)
Specified by:
debug in interface HapiLog
See Also:
MessageFormat#format( ... )


Copyright © 2001-2011 University Health Network. All Rights Reserved.