Class Log4jLog
java.lang.Object
oracle.stellent.ridc.common.log.impl.BaseLogSupport
oracle.stellent.ridc.common.log.log4j.Log4jLog
- All Implemented Interfaces:
ILog
-
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.stellent.ridc.common.log.ILog
ILog.Level
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isLogEnabled
(ILog.Level level) Determine if logging is enabled for a given levelvoid
log
(String message, Throwable error, ILog.Level level) Log a message with a corresponding exception to this loggervoid
log
(String message, ILog.Level level) Log a message to this logger objectMethods inherited from class oracle.stellent.ridc.common.log.impl.BaseLogSupport
log, log
-
Constructor Details
-
Log4jLog
public Log4jLog(org.apache.logging.log4j.Logger m_logger)
-
-
Method Details
-
log
Log a message to this logger object- Parameters:
message
- the messagelevel
- the level of the message
-
log
Log a message with a corresponding exception to this logger- Parameters:
message
- the log messageerror
- the errorlevel
- the logging level
-
isLogEnabled
Determine if logging is enabled for a given level- Parameters:
level
- the log level- Returns:
- true if the log level is enabled
-