Class JDKLog

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

public class JDKLog extends BaseLogSupport
  • Field Details

    • m_logger

      protected Logger m_logger
  • Constructor Details

    • JDKLog

      public JDKLog(Logger 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
    • getLoggingLevel

      protected Level getLoggingLevel(ILog.Level level)
      Determine the logger level from the ILog.Level
      Parameters:
      level - the level
      Returns:
      the internal logger level