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, setHandlers
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
protected 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 ExtHandler
record
- the log record to publishpublic void flush()
public void close() throws SecurityException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Handler
SecurityException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.