Package io.quarkus.test
Class InMemoryLogHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- io.quarkus.test.InMemoryLogHandler
-
public class InMemoryLogHandler extends Handler
-
-
Constructor Summary
Constructors Constructor Description InMemoryLogHandler(Predicate<LogRecord> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidclearRecords()voidclose()voidflush()LevelgetLevel()List<LogRecord>getRecords()voidpublish(LogRecord record)-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
close
public void close() throws SecurityException- Specified by:
closein classHandler- Throws:
SecurityException
-
clearRecords
void clearRecords()
-
-