Class SimpleLog
java.lang.Object
oracle.stellent.ridc.common.log.impl.BaseLogSupport
oracle.stellent.ridc.common.log.simple.SimpleLog
- All Implemented Interfaces:
ILog
Simple console logging
-
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 String
formatMessage
(String message, Throwable error, ILog.Level level) boolean
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 objectprotected void
outputMessage
(ILog.Level level, String message) Methods inherited from class oracle.stellent.ridc.common.log.impl.BaseLogSupport
log, log
-
Field Details
-
m_category
-
m_categoryName
-
-
Constructor Details
-
SimpleLog
-
-
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
-
outputMessage
-
formatMessage
-