public class DefaultStdOutLoggingSystem extends Object implements StdOutLoggingSystem
LoggingSystem.Snapshot| Constructor and Description |
|---|
DefaultStdOutLoggingSystem(OutputEventListener listener,
TimeProvider timeProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected PrintStream |
get()
Returns the current value of the PrintStream
|
LoggingSystem.Snapshot |
off()
Disables logging for this logging system
|
LoggingSystem.Snapshot |
on(LogLevel level)
Enables logging for this logging system at the given level.
|
void |
restore(LoggingSystem.Snapshot state) |
protected void |
set(PrintStream printStream)
Sets the current value of the PrintStream
|
LoggingSystem.Snapshot |
snapshot() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoff, on, restore, snapshotpublic DefaultStdOutLoggingSystem(OutputEventListener listener, TimeProvider timeProvider)
protected PrintStream get()
protected void set(PrintStream printStream)
public LoggingSystem.Snapshot snapshot()
snapshot in interface LoggingSystempublic void restore(LoggingSystem.Snapshot state)
restore in interface LoggingSystempublic LoggingSystem.Snapshot on(LogLevel level)
LoggingSystemon in interface LoggingSystemlevel - The new level.public LoggingSystem.Snapshot off()
LoggingSystemoff in interface LoggingSystemCopyright © 2013. All rights reserved