com.alibaba.druid.support.logging
类 JakartaCommonsLoggingImpl

java.lang.Object
  继承者 com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl
所有已实现的接口:
Log

public class JakartaCommonsLoggingImpl
extends Object
implements Log


构造方法摘要
JakartaCommonsLoggingImpl(org.apache.commons.logging.Log log)
           
JakartaCommonsLoggingImpl(String loggerName)
           
 
方法摘要
 void debug(String s)
           
 void debug(String s, Throwable e)
           
 void error(String s)
           
 void error(String s, Throwable e)
           
 int getDebugCount()
           
 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)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

JakartaCommonsLoggingImpl

public JakartaCommonsLoggingImpl(org.apache.commons.logging.Log log)
参数:
log -
从以下版本开始:
0.2.1

JakartaCommonsLoggingImpl

public JakartaCommonsLoggingImpl(String loggerName)
方法详细信息

isDebugEnabled

public boolean isDebugEnabled()
指定者:
接口 Log 中的 isDebugEnabled

error

public void error(String s,
                  Throwable e)
指定者:
接口 Log 中的 error

error

public void error(String s)
指定者:
接口 Log 中的 error

debug

public void debug(String s)
指定者:
接口 Log 中的 debug

debug

public void debug(String s,
                  Throwable e)
指定者:
接口 Log 中的 debug

warn

public void warn(String s)
指定者:
接口 Log 中的 warn

warn

public void warn(String s,
                 Throwable e)
指定者:
接口 Log 中的 warn

getWarnCount

public int getWarnCount()
指定者:
接口 Log 中的 getWarnCount

getErrorCount

public int getErrorCount()
指定者:
接口 Log 中的 getErrorCount

resetStat

public void resetStat()
指定者:
接口 Log 中的 resetStat

isInfoEnabled

public boolean isInfoEnabled()
指定者:
接口 Log 中的 isInfoEnabled

info

public void info(String msg)
指定者:
接口 Log 中的 info

getInfoCount

public int getInfoCount()
指定者:
接口 Log 中的 getInfoCount

isWarnEnabled

public boolean isWarnEnabled()
指定者:
接口 Log 中的 isWarnEnabled

getDebugCount

public int getDebugCount()
指定者:
接口 Log 中的 getDebugCount


Copyright © 2013 Alibaba Group. All Rights Reserved.