Package io.quarkus.test.logging
Class LoggingHandler
- java.lang.Object
-
- io.quarkus.test.logging.LoggingHandler
-
- Direct Known Subclasses:
FileQuarkusApplicationLoggingHandler
public abstract class LoggingHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description LoggingHandler(ServiceContext context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringcontextName()protected abstract voidhandle()List<String>logs()booleanlogsContains(String expected)protected voidonLine(String line)protected voidonLines(String lines)protected voidonStringDifference(String newLines, String oldLines)protected voidrun()voidstartWatching()voidstopWatching()
-
-
-
Constructor Detail
-
LoggingHandler
public LoggingHandler(ServiceContext context)
-
-
Method Detail
-
handle
protected abstract void handle()
-
startWatching
public void startWatching()
-
stopWatching
public void stopWatching()
-
logsContains
public boolean logsContains(String expected)
-
run
protected void run()
-
onLine
protected void onLine(String line)
-
onLines
protected void onLines(String lines)
-
contextName
protected String contextName()
-
-