Class Log4j2Impl

  • All Implemented Interfaces:
    Log

    public class Log4j2Impl
    extends Object
    implements Log
    • Constructor Detail

      • Log4j2Impl

        public Log4j2Impl​(org.apache.logging.log4j.Logger log)
        Parameters:
        log - the Log instance to be used for logging
        Since:
        0.2.21
      • Log4j2Impl

        public Log4j2Impl​(String loggerName)
    • Method Detail

      • getLog

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

        public boolean isDebugEnabled()
        Specified by:
        isDebugEnabled 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
      • warn

        public void warn​(String s)
        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
      • getDebugCount

        public int getDebugCount()
        Specified by:
        getDebugCount 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
      • isWarnEnabled

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

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

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