com.alibaba.druid.support.logging
类 SLF4JImpl

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

public class SLF4JImpl
extends Object
implements Log


构造方法摘要
SLF4JImpl(org.slf4j.spi.LocationAwareLogger log)
           
SLF4JImpl(String loggerName)
           
 
方法摘要
 void debug(String msg)
           
 void debug(String msg, Throwable e)
           
 void error(String msg)
           
 void error(String msg, 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 msg)
           
 void warn(String msg, Throwable e)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SLF4JImpl

public SLF4JImpl(org.slf4j.spi.LocationAwareLogger log)

SLF4JImpl

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

isDebugEnabled

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

error

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

error

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

isInfoEnabled

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

info

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

debug

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

debug

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

isWarnEnabled

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

warn

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

warn

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

getErrorCount

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

getWarnCount

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

getInfoCount

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

getDebugCount

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

resetStat

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


Copyright © 2013-2014 Alibaba Group. All Rights Reserved.