com.alibaba.druid.support.logging
Class JakartaCommonsLoggingImpl

java.lang.Object
  extended by com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl
All Implemented Interfaces:
Log

public class JakartaCommonsLoggingImpl
extends Object
implements Log


Constructor Summary
JakartaCommonsLoggingImpl(Class<?> clazz)
           
 
Method Summary
 void debug(String s)
           
 void debug(String s, Throwable e)
           
 void error(String s)
           
 void error(String s, Throwable e)
           
 int getErrorCount()
           
 int getInfoCount()
           
 int getWarnCount()
           
 void info(String msg)
           
 boolean isDebugEnabled()
           
 boolean isInfoEnabled()
           
 boolean isWarnEnabled()
           
 void resetStat()
           
 void warn(String s)
           
 void warn(String s, Throwable e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JakartaCommonsLoggingImpl

public JakartaCommonsLoggingImpl(Class<?> clazz)
Method Detail

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface Log

error

public void error(String s,
                  Throwable e)
Specified by:
error in interface Log

error

public void error(String s)
Specified by:
error in interface Log

debug

public void debug(String s)
Specified by:
debug in interface Log

debug

public void debug(String s,
                  Throwable e)
Specified by:
debug in interface Log

warn

public void warn(String s)
Specified by:
warn in interface Log

warn

public void warn(String s,
                 Throwable e)
Specified by:
warn in interface Log

getWarnCount

public int getWarnCount()
Specified by:
getWarnCount in interface Log

getErrorCount

public int getErrorCount()
Specified by:
getErrorCount in interface Log

resetStat

public void resetStat()
Specified by:
resetStat in interface Log

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface Log

info

public void info(String msg)
Specified by:
info in interface Log

getInfoCount

public int getInfoCount()
Specified by:
getInfoCount in interface Log

isWarnEnabled

public boolean isWarnEnabled()
Specified by:
isWarnEnabled in interface Log


Copyright © 2012 Alibaba Group. All Rights Reserved.