public class CaptureHandler extends Handler
Constructor and Description |
---|
CaptureHandler() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
List<LogRecord> |
getRecords()
Returns the captured
LogRecord s. |
void |
publish(LogRecord record) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public void close() throws SecurityException
close
in class Handler
SecurityException
public List<LogRecord> getRecords()
LogRecord
s.LogRecord
s.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.