public final class NullHandler extends ExtHandler
handlers, handlersUpdater| Constructor and Description |
|---|
NullHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
doPublish(ExtLogRecord record)
Do the actual work of publication; the record will have been filtered already.
|
void |
flush() |
addHandler, checkAccess, clearHandlers, getHandlers, isAutoFlush, publish, publish, removeHandler, setAutoFlush, setHandlersgetEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevelprotected void doPublish(ExtLogRecord record)
autoFlush property is set to true; if this behavior is to be
preserved in a subclass then this method should be called after the record is physically written.doPublish in class ExtHandlerrecord - the log record to publishpublic void flush()
public void close()
throws SecurityException
close in interface Closeableclose in interface AutoCloseableclose in class HandlerSecurityExceptionCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.