Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


oracle.stellent.ridc.common.log.log4j
Class Log4jLog

java.lang.Object
  extended by oracle.stellent.ridc.common.log.impl.BaseLogSupport
      extended by oracle.stellent.ridc.common.log.log4j.Log4jLog

All Implemented Interfaces:
ILog

public class Log4jLog
extends BaseLogSupport

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.stellent.ridc.common.log.ILog
ILog.Level

 

Constructor Summary
Log4jLog(org.apache.log4j.Logger m_logger)
           

 

Method Summary
 boolean isLogEnabled(ILog.Level level)
          Determine if logging is enabled for a given level
 void log(String message, ILog.Level level)
          Log a message to this logger object
 void log(String message, Throwable error, ILog.Level level)
          Log a message with a corresponding exception to this logger

 

Methods inherited from class oracle.stellent.ridc.common.log.impl.BaseLogSupport
log, log

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Log4jLog

public Log4jLog(org.apache.log4j.Logger m_logger)

Method Detail

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

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.