Class LoggingUtils

java.lang.Object
org.codice.ddf.test.common.LoggingUtils

public class LoggingUtils extends Object
Logging utilities for testing.
  • Method Details

    • failWithThrowableStacktrace

      public static void failWithThrowableStacktrace(Throwable throwable, String message)
      Appends the stacktrace of the Throwable to the message provided. It is the responsibility of the caller to end their message with a space or newline.
      Parameters:
      throwable - contains the stacktrace to be logged
      message - a descriptive message for the stacktrace