类 Log4j2Impl

java.lang.Object
com.alibaba.druid.support.logging.Log4j2Impl
所有已实现的接口:
Log

public class Log4j2Impl extends Object implements Log
  • 构造器详细资料

    • Log4j2Impl

      public Log4j2Impl(org.apache.logging.log4j.Logger log)
      参数:
      log - the Log instance to be used for logging
      从以下版本开始:
      0.2.21
    • Log4j2Impl

      public Log4j2Impl(String loggerName)
  • 方法详细资料

    • getLog

      public org.apache.logging.log4j.Logger getLog()
    • isDebugEnabled

      public boolean isDebugEnabled()
      指定者:
      isDebugEnabled 在接口中 Log
    • error

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

      public void error(String s)
      指定者:
      error 在接口中 Log
    • debug

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

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

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

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

      public int getWarnCount()
      指定者:
      getWarnCount 在接口中 Log
    • getErrorCount

      public int getErrorCount()
      指定者:
      getErrorCount 在接口中 Log
    • resetStat

      public void resetStat()
      指定者:
      resetStat 在接口中 Log
    • getDebugCount

      public int getDebugCount()
      指定者:
      getDebugCount 在接口中 Log
    • isInfoEnabled

      public boolean isInfoEnabled()
      指定者:
      isInfoEnabled 在接口中 Log
    • info

      public void info(String msg)
      指定者:
      info 在接口中 Log
    • isWarnEnabled

      public boolean isWarnEnabled()
      指定者:
      isWarnEnabled 在接口中 Log
    • isErrorEnabled

      public boolean isErrorEnabled()
      指定者:
      isErrorEnabled 在接口中 Log
    • getInfoCount

      public int getInfoCount()
      指定者:
      getInfoCount 在接口中 Log
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object