Class Log4JLogger

All Implemented Interfaces:
InternalLogger

class Log4JLogger extends AbstractInternalLogger
Apache Log4J logger.
  • Field Details

    • logger

      private final org.apache.log4j.Logger logger
  • Constructor Details

    • Log4JLogger

      Log4JLogger(org.apache.log4j.Logger logger)
  • Method Details

    • debug

      public void debug(String msg)
      Description copied from interface: InternalLogger
      Logs a DEBUG level message.
    • debug

      public void debug(String msg, Throwable cause)
      Description copied from interface: InternalLogger
      Logs a DEBUG level message.
    • error

      public void error(String msg)
      Description copied from interface: InternalLogger
      Logs an ERROR level message.
    • error

      public void error(String msg, Throwable cause)
      Description copied from interface: InternalLogger
      Logs an ERROR level message.
    • info

      public void info(String msg)
      Description copied from interface: InternalLogger
      Logs an INFO level message.
    • info

      public void info(String msg, Throwable cause)
      Description copied from interface: InternalLogger
      Logs an INFO level message.
    • isDebugEnabled

      public boolean isDebugEnabled()
      Description copied from interface: InternalLogger
      Returns true if a DEBUG level message is logged.
    • isErrorEnabled

      public boolean isErrorEnabled()
      Description copied from interface: InternalLogger
      Returns true if an ERROR level message is logged.
    • isInfoEnabled

      public boolean isInfoEnabled()
      Description copied from interface: InternalLogger
      Returns true if an INFO level message is logged.
    • isWarnEnabled

      public boolean isWarnEnabled()
      Description copied from interface: InternalLogger
      Returns true if a WARN level message is logged.
    • warn

      public void warn(String msg)
      Description copied from interface: InternalLogger
      Logs a WARN level message.
    • warn

      public void warn(String msg, Throwable cause)
      Description copied from interface: InternalLogger
      Logs a WARN level message.
    • toString

      public String toString()
      Overrides:
      toString in class Object