Class NoLoggingImpl

java.lang.Object
com.alibaba.druid.support.logging.NoLoggingImpl
All Implemented Interfaces:
Log

public class NoLoggingImpl extends Object implements Log
  • Constructor Details

    • NoLoggingImpl

      public NoLoggingImpl(String loggerName)
  • Method Details

    • getLoggerName

      public String getLoggerName()
    • 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
    • getErrorCount

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

      public int getWarnCount()
      Specified by:
      getWarnCount 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 s)
      Specified by:
      info in interface Log
    • isWarnEnabled

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

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

      public int getDebugCount()
      Specified by:
      getDebugCount in interface Log
    • isErrorEnabled

      public boolean isErrorEnabled()
      Specified by:
      isErrorEnabled in interface Log
    • setErrorEnabled

      public void setErrorEnabled(boolean value)