Class JDKLog
java.lang.Object
oracle.stellent.ridc.common.log.impl.BaseLogSupport
oracle.stellent.ridc.common.log.jdk.JDKLog
- All Implemented Interfaces:
ILog
-
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.stellent.ridc.common.log.ILog
ILog.Level
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Level
getLoggingLevel
(ILog.Level level) Determine the logger level from the ILog.Levelboolean
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
-
Field Details
-
m_logger
-
-
Constructor Details
-
JDKLog
-
-
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
-
getLoggingLevel
Determine the logger level from the ILog.Level- Parameters:
level
- the level- Returns:
- the internal logger level
-