Class Log4jLog

java.lang.Object
oracle.stellent.ridc.common.log.impl.BaseLogSupport
oracle.stellent.ridc.common.log.log4j.Log4jLog
All Implemented Interfaces:
ILog

public class Log4jLog extends BaseLogSupport
  • Constructor Details

    • Log4jLog

      public Log4jLog(org.apache.logging.log4j.Logger m_logger)
  • Method Details

    • log

      public void log(String message, ILog.Level level)
      Log a message to this logger object
      Parameters:
      message - the message
      level - the level of the message
    • log

      public void log(String message, Throwable error, ILog.Level level)
      Log a message with a corresponding exception to this logger
      Parameters:
      message - the log message
      error - the error
      level - the logging level
    • isLogEnabled

      public boolean isLogEnabled(ILog.Level level)
      Determine if logging is enabled for a given level
      Parameters:
      level - the log level
      Returns:
      true if the log level is enabled