public class NoOpLoggingSystem extends Object implements StdOutLoggingSystem, StdErrLoggingSystem, LoggingSystem
LoggingSystem.Snapshot| Constructor and Description |
|---|
NoOpLoggingSystem() |
| Modifier and Type | Method and Description |
|---|---|
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) |
LoggingSystem.Snapshot |
snapshot() |
public LoggingSystem.Snapshot snapshot()
snapshot in interface LoggingSystempublic LoggingSystem.Snapshot on(LogLevel level)
LoggingSystemon in interface LoggingSystemlevel - The new level.public LoggingSystem.Snapshot off()
LoggingSystemoff in interface LoggingSystempublic void restore(LoggingSystem.Snapshot state)
restore in interface LoggingSystemCopyright © 2013. All rights reserved