com.zynaptic.reaction.util
Class ReactorLogSystemOut
java.lang.Object
com.zynaptic.reaction.util.ReactorLogSystemOut
- All Implemented Interfaces:
- ReactorLogTarget
public final class ReactorLogSystemOut
- extends java.lang.Object
- implements ReactorLogTarget
Provides a basic log service which prints all log messages generated by the
reactor to the console.
|
Method Summary |
void |
log(int level,
java.lang.String message)
Logs a message string at the specified severity level. |
void |
log(int level,
java.lang.String message,
java.lang.Throwable exception)
Logs message string and accompanying exception information at the specified
severity level. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReactorLogSystemOut
public ReactorLogSystemOut()
log
public final void log(int level,
java.lang.String message)
- Description copied from interface:
ReactorLogTarget
- Logs a message string at the specified severity level.
- Specified by:
log in interface ReactorLogTarget
- Parameters:
level - This is the severity level at which the message should be logged.message - This is the message string which should be included in the log
file.
log
public final void log(int level,
java.lang.String message,
java.lang.Throwable exception)
- Description copied from interface:
ReactorLogTarget
- Logs message string and accompanying exception information at the specified
severity level.
- Specified by:
log in interface ReactorLogTarget
- Parameters:
level - This is the severity level at which the message should be logged.message - This is the message string which should be included in the log
file.exception - This is the exception which should be logged with the accompanying
message.