public final class NullHandler extends Handler
| Constructor and Description |
|---|
NullHandler()
Creates a new instance of NullHandler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Does nothing since there is nothing to close.
|
void |
flush()
Does nothing since there is nothing to flush
|
void |
publish(LogRecord record)
Quietly ignores the log record.
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelpublic void publish(LogRecord record)
public void flush()
Copyright © 2019. All rights reserved.