|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Logger
This interface describes the behaviour for a class that can log messages. The difference in logging between all the different methods is entirely up to the implementing class! (i.e.: there will be implementations that do not make a difference!)
Method Summary | |
---|---|
void |
logExceptionalEvent(String aMessage)
This method allows the logging of an exceptional event. |
void |
logNormalEvent(String aMessage)
This method allows the logging of a 'normal' event. |
void |
logTime(String aMessage)
This method allows the caller to have the logger record a timestamp (implementation specific format and content, although 'date - time' is a good rule of thumb) along with the specified message. |
Method Detail |
---|
void logTime(String aMessage)
aMessage
- String with the message to display after the timestamp.void logNormalEvent(String aMessage)
aMessage
- String with a normal operation message.void logExceptionalEvent(String aMessage)
aMessage
- String with the exceptional message to log.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |