Package org.mockserver.test
Class TestLogCaptureHandler
- java.lang.Object
-
- java.util.logging.Handler
-
- org.mockserver.test.TestLogCaptureHandler
-
public class TestLogCaptureHandler extends Handler
-
-
Constructor Summary
Constructors Constructor Description TestLogCaptureHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()static TestLogCaptureHandlergetInstance()voidpublish(LogRecord record)static voidstartCapture()static voidstopAndDiscard()static StringstopAndDrain()-
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
Method Detail
-
getInstance
public static TestLogCaptureHandler getInstance()
-
startCapture
public static void startCapture()
-
stopAndDiscard
public static void stopAndDiscard()
-
stopAndDrain
public static String stopAndDrain()
-
-