| Constructor and Description |
|---|
DefaultOutputLoggerImplementation()
Default constructor.
|
DefaultOutputLoggerImplementation(java.io.PrintStream aOut,
java.io.PrintStream aErr)
Constructor that takes two PrintStreams to output to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
logExceptionalEvent(java.lang.String aMessage)
This method allows the logging of an exceptional event.
|
void |
logNormalEvent(java.lang.String aMessage)
This method allows the logging of a 'normal' event.
|
void |
logTime(java.lang.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.
|
public DefaultOutputLoggerImplementation()
public DefaultOutputLoggerImplementation(java.io.PrintStream aOut,
java.io.PrintStream aErr)
aOut - PrintStream for normal and timed messages.aErr - PrintStream for error messages.public void logTime(java.lang.String aMessage)
public void logExceptionalEvent(java.lang.String aMessage)
logExceptionalEvent in interface LoggeraMessage - String with the exceptional message to log.public void logNormalEvent(java.lang.String aMessage)
logNormalEvent in interface LoggeraMessage - String with a normal operation message.Copyright © 2014. All Rights Reserved.