|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.services.BaseService
toolbox.services.dao.DaoService
toolbox.services.util.logging.LoggingServiceDbImpl
public class LoggingServiceDbImpl
LoggingService implementation that logs messages to a database table.
The default table definition can be found in the share/sql/logging directory of the toolbox distribution.
This implementation has been tested against Mysql 5 and Oracle 10g.
| Constructor Summary | |
|---|---|
LoggingServiceDbImpl()
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). |
| Methods inherited from class toolbox.services.dao.DaoService |
|---|
checkConstraint, create, destroy, doCustomQuery, doCustomQuery, getDaoManager, getDaoWorker, getNextSequenceValue, insertDaoBean, insertDaoBean, updateDaoBean, updateDaoBean |
| Methods inherited from class toolbox.services.BaseService |
|---|
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingServiceDbImpl()
| Method Detail |
|---|
public void logInfo(LogMessage message)
logInfo in interface LoggingServicemessage - LogMessage to log.public void logWarning(LogMessage message)
logWarning in interface LoggingServicemessage - LogMessage to log.public void logError(LogMessage message)
logError in interface LoggingServicemessage - LogMessage to log.public void logFatal(LogMessage message)
logFatal in interface LoggingServicemessage - LogMessage to log.public void log(LogMessage message)
log in interface LoggingServicemessage - LogMessage to log.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||