public abstract class AbstractStreamMonitor extends AbstractDefaultMonitor
PrintStream.LEVELSDEBUG, DEFAULT_LEVEL, ERROR, FATAL, INFO, NONE, WARN| Constructor and Description |
|---|
AbstractStreamMonitor(PrintStream theStream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
monitor(String message)
Monitor a message.
|
protected void |
monitor(Throwable throwable)
Monitor a throwable.
|
debug, debug, error, error, fatalError, fatalError, info, info, warn, warnisDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isNoMesssages, isWarnEnabled, setLevelpublic AbstractStreamMonitor(PrintStream theStream)
theStream - the output stream for monitoringprotected final void monitor(String message)
monitor in class AbstractDefaultMonitormessage - the messageprotected final void monitor(Throwable throwable)
monitor in class AbstractDefaultMonitorthrowable - the throwableCopyright © 2005–2020. All rights reserved.