|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extrememessaging.ResponseMaster.monitor.CMonitorBase
com.extrememessaging.ResponseMaster.monitor.CLogger
public class CLogger
This class provides methods for logging to the rest of the application
| Constructor Summary | |
|---|---|
CLogger()
|
|
| Method Summary | |
|---|---|
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 |
PostRoll(RollingCount source,
RollingCount.RollTypeEnum rollType)
|
void |
Shutdown()
Cleanup any resources you allocated during construction or operation. |
| Methods inherited from class com.extrememessaging.ResponseMaster.monitor.CMonitorBase |
|---|
CategoryDefinitionsLoaded, LoggingLevelFromString, LoggingLevelNameFromValue, MailboxEmpty, MailboxInitializationBegun, MailboxInitializationFinished, MailboxShutdownBegun, MailboxShutdownFinished, MessageCategorized, MessageProcessed, MessageSkipped, ThreadKilled |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CLogger()
| Method Detail |
|---|
public void Initialize(java.lang.String sFileName)
throws ResponseMasterException
IConfigurableItem
Initialize in interface IConfigurableItemInitialize in class CMonitorBaseResponseMasterExceptionpublic void Shutdown()
IConfigurableItem
Shutdown in interface IConfigurableItemShutdown in class CMonitorBase
public void PostRoll(RollingCount source,
RollingCount.RollTypeEnum rollType)
PostRoll in interface RollingCount.IRollListenerpublic void LogError(java.lang.String sMessage)
LogError in interface IMonitorLogError in class CMonitorBasesMessage - The message to log
public 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 log
public 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 log
public 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 log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||