Class LoggingUtils

java.lang.Object
org.yamcs.tests.LoggingUtils

public class LoggingUtils extends Object
  • Constructor Details

    • LoggingUtils

      public LoggingUtils()
  • Method Details

    • configureLogging

      public static void configureLogging(Level level)
    • enableTracing

      public static void enableTracing()
      use to enable logging during junit tests debugging.
    • startCapture

      public static LoggingUtils.ArrayLogHandler startCapture(Class<?> clazz)
      Start capturing all the logs generated by the class into the ArrayLogHandler.

      The capture should be stopped by calling stopCapture(java.lang.Class<?>)

    • stopCapture

      public static void stopCapture(Class<?> clazz)