public class WriterMonitor extends AbstractDefaultMonitor
PrintWriter.LEVELSDEBUG, DEFAULT_LEVEL, ERROR, FATAL, INFO, NONE, WARN| Constructor and Description |
|---|
WriterMonitor(PrintWriter theWriter)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
monitor(String message)
Abstract monitoring method, must be implemented by concrete monitors.
|
protected void |
monitor(Throwable throwable)
Abstract monitoring method, must be implemented by concrete monitors.
|
debug, debug, error, error, fatalError, fatalError, info, info, warn, warnisDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isNoMesssages, isWarnEnabled, setLevelpublic WriterMonitor(PrintWriter theWriter)
theWriter - the output stream for monitoringprotected final void monitor(String message)
monitor in class AbstractDefaultMonitormessage - a message to monitorAbstractDefaultMonitor.monitor(java.lang.String)protected final void monitor(Throwable throwable)
monitor in class AbstractDefaultMonitorthrowable - a throwable to monitorAbstractDefaultMonitor.monitor(java.lang.Throwable)Copyright © 2005–2020. All rights reserved.