public class DBLogger extends CMonitorBase
| Constructor and Description |
|---|
DBLogger() |
| Modifier and Type | Method and Description |
|---|---|
void |
Initialize(java.lang.String sFileName)
Initialize using the parameter from the config file.
|
void |
LogError(java.lang.String sMessage)
Log an error
|
void |
LogError(java.lang.String sMessage,
java.lang.Throwable e)
Log an error from a Throwable
|
void |
LogSystem(java.lang.String sMessage)
Log a system message
|
void |
LogTrace(java.lang.String sMessage)
Log a tracing message
If the logging level is Errors or Warnings, this doesn't do anything
|
void |
LogTrace(java.lang.String sMessage,
java.lang.Throwable e)
Log a tracing message from a Throwable
If the logging level is Errors, this doesn't do anything
|
void |
LogWarning(java.lang.String sMessage)
Log a warning
If the logging level is Errors, this doesn't do anything
|
void |
LogWarning(java.lang.String sMessage,
java.lang.Throwable e)
Log a warning from a Throwable
If the logging level is Errors, this doesn't do anything
|
void |
MailboxEmpty(java.lang.String sMailboxName)
This is fired every time we check the mailbox for
messages, and we find that it is empty.
|
void |
MailboxInitializationBegun(java.lang.String sMailboxName)
The mailbox initialization process started for a particular mailbox
New in build 627
|
void |
MailboxInitializationFinished(java.lang.String sMailboxName)
The mailbox initialization process completed for a particular mailbox
New in build 627
|
void |
MailboxShutdownBegun(java.lang.String sMailboxName)
The mailbox shutdown process began for a particular mailbox
New in build 627
|
void |
MailboxShutdownFinished(java.lang.String sMailboxName)
The mailbox shutdown process finished for a particular mailbox
New in build 627
|
void |
MessageProcessed(java.lang.String sMailboxName,
CMessage oMessage) |
void |
Shutdown()
Cleanup any resources you allocated during construction
or operation.
|
CategoryDefinitionsLoaded, LoggingLevelFromString, LoggingLevelNameFromValue, MessageCategorized, MessageCategorized, MessageCount, MessageFetched, MessageProcessed, MessageProcessed, MessageSkipped, MessageSkipped, SkippedRemovedMessage, ThreadKilled, ThreadKilledpublic void Initialize(java.lang.String sFileName)
throws ResponseMasterException
IConfigurableItemInitialize in interface IConfigurableItemInitialize in class CMonitorBasesFileName - The parameter from the config file, Frequently, the parameter will be a file name.ResponseMasterException - for invalid parameters (and potentially other issues).public void Shutdown()
IConfigurableItemShutdown in interface IConfigurableItemShutdown in class CMonitorBasepublic void LogError(java.lang.String sMessage)
LogError in interface IMonitorLogError in class CMonitorBasesMessage - The message to logpublic void LogError(java.lang.String sMessage,
java.lang.Throwable e)
LogError in interface IMonitorLogError in class CMonitorBasesMessage - The message to loge - The Throwable to logpublic void LogWarning(java.lang.String sMessage)
LogWarning in interface IMonitorLogWarning in class CMonitorBasesMessage - The message to logpublic void LogWarning(java.lang.String sMessage,
java.lang.Throwable e)
LogWarning in interface IMonitorLogWarning in class CMonitorBasesMessage - The message to loge - The Throwable to logpublic void LogTrace(java.lang.String sMessage)
LogTrace in interface IMonitorLogTrace in class CMonitorBasesMessage - The message to logpublic void LogTrace(java.lang.String sMessage,
java.lang.Throwable e)
LogTrace in interface IMonitorLogTrace in class CMonitorBasesMessage - The message to loge - The Throwable to logpublic void LogSystem(java.lang.String sMessage)
LogSystem in interface IMonitorLogSystem in class CMonitorBasesMessage - The message to logpublic void MailboxInitializationBegun(java.lang.String sMailboxName)
IMonitorMailboxInitializationBegun in interface IMonitorMailboxInitializationBegun in class CMonitorBasesMailboxName - The name of the mailboxpublic void MailboxInitializationFinished(java.lang.String sMailboxName)
IMonitorMailboxInitializationFinished in interface IMonitorMailboxInitializationFinished in class CMonitorBasesMailboxName - The name of the mailboxpublic void MailboxShutdownBegun(java.lang.String sMailboxName)
IMonitorMailboxShutdownBegun in interface IMonitorMailboxShutdownBegun in class CMonitorBasesMailboxName - The name of the mailboxpublic void MailboxShutdownFinished(java.lang.String sMailboxName)
IMonitorMailboxShutdownFinished in interface IMonitorMailboxShutdownFinished in class CMonitorBasesMailboxName - The name of the mailboxpublic void MessageProcessed(java.lang.String sMailboxName,
CMessage oMessage)
MessageProcessed in class CMonitorBasesMailboxName - The mailbox that the message was fromoMessage - The message that was processedpublic void MailboxEmpty(java.lang.String sMailboxName)
IMonitorMailboxEmpty in interface IMonitorMailboxEmpty in class CMonitorBasesMailboxName - The name of the mailbox