Package io.quarkus.test
Class InMemoryLogHandler
java.lang.Object
java.util.logging.Handler
org.jboss.logmanager.ExtHandler
io.quarkus.test.InMemoryLogHandler
- All Implemented Interfaces:
Flushable
,AutoCloseable
public class InMemoryLogHandler
extends org.jboss.logmanager.ExtHandler
-
Field Summary
FieldsFields inherited from class org.jboss.logmanager.ExtHandler
handlers, handlersUpdater, lock
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jboss.logmanager.ExtHandler
addHandler, checkAccess, checkAccess, clearHandlers, doPublish, getCharset, getEncoding, getErrorManager, getFilter, getFormatter, getHandlers, isAutoFlush, isCallerCalculationRequired, isCloseChildren, isEnabled, publish, publishToNestedHandlers, removeHandler, reportError, reportError, setAutoFlush, setCharset, setCharsetPrivate, setCloseChildren, setEnabled, setEncoding, setErrorManager, setFilter, setFormatter, setHandlers, setLevel
Methods inherited from class java.util.logging.Handler
isLoggable
-
Field Details
-
records
-
-
Constructor Details
-
InMemoryLogHandler
-
-
Method Details
-
publish
- Overrides:
publish
in classorg.jboss.logmanager.ExtHandler
-
flush
public void flush() -
getLevel
- Overrides:
getLevel
in classorg.jboss.logmanager.ExtHandler
-
close
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classorg.jboss.logmanager.ExtHandler
- Throws:
SecurityException
-
getRecords
-
clearRecords
void clearRecords()
-