Package oracle.stellent.ridc.common.log
Interface ILog
- All Known Implementing Classes:
BaseLogSupport
,JDKLog
,Log4jLog
,SimpleLog
public interface ILog
Simple abstraction for various logging frameworks.
-
Nested Class Summary
Nested Classes -
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 exceptionvoid
log
(String message, ILog.Level level) Log a messagevoid
log
(LocaleMessage message, Throwable error, ILog.Level level) Log a message with a corresponding exception to this loggervoid
log
(LocaleMessage message, ILog.Level level) Log a message to this logger object
-
Method Details
-
log
Log a message- Parameters:
message
- the messagelevel
- the level of the message
-
log
Log a message to this logger object- Parameters:
message
- wcm message objectlevel
- the log level
-
log
Log a message with a corresponding exception- Parameters:
message
- the log messageerror
- the errorlevel
- the logging level
-
log
Log a message with a corresponding exception to this logger- Parameters:
message
- the wcm message objecterror
- the errorlevel
- the log level
-
isLogEnabled
Determine if logging is enabled for a given level- Parameters:
level
- the given log level- Returns:
- true if the log level is enabled
-