|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.util.logging.LoggingServiceCommonsLoggingImpl
public class LoggingServiceCommonsLoggingImpl
LoggingService implementation that makes use of the Apache Commons Logging framework to output LogMessages
Constructor Summary | |
---|---|
LoggingServiceCommonsLoggingImpl()
Default constructor. |
Method Summary | |
---|---|
void |
log(LogMessage message)
Log the given message using the level set on the message. |
void |
logError(LogMessage message)
Log the given message as an error (ERROR). |
void |
logFatal(LogMessage message)
Log the given message as fatal (FATAL). |
void |
logInfo(LogMessage message)
Log the given message as informational (INFO). |
void |
logWarning(LogMessage message)
Log the given message as a warning (WARN). |
void |
setLoggingFormatter(LoggingFormatter formatter)
Injection point for the LoggingFormatter dependency. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingServiceCommonsLoggingImpl()
Method Detail |
---|
public void logInfo(LogMessage message)
logInfo
in interface LoggingService
message
- LogMessage to log.public void logWarning(LogMessage message)
logWarning
in interface LoggingService
message
- LogMessage to log.public void logError(LogMessage message)
logError
in interface LoggingService
message
- LogMessage to log.public void logFatal(LogMessage message)
logFatal
in interface LoggingService
message
- LogMessage to log.public void log(LogMessage message)
log
in interface LoggingService
message
- LogMessage to log.public void setLoggingFormatter(LoggingFormatter formatter)
formatter
- LoggingFormatter to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |