Package org.yamcs.tests
Class LoggingUtils
java.lang.Object
org.yamcs.tests.LoggingUtils
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
configureLogging
(Level level) static void
use to enable logging during junit tests debugging.static LoggingUtils.ArrayLogHandler
startCapture
(Class<?> clazz) Start capturing all the logs generated by the class into the ArrayLogHandler.static void
stopCapture
(Class<?> clazz)
-
Constructor Details
-
LoggingUtils
public LoggingUtils()
-
-
Method Details
-
configureLogging
-
enableTracing
public static void enableTracing()use to enable logging during junit tests debugging. -
startCapture
Start capturing all the logs generated by the class into the ArrayLogHandler.The capture should be stopped by calling
stopCapture(java.lang.Class<?>)
-
stopCapture
-