Package org.codice.ddf.test.common
Class LoggingUtils
java.lang.Object
org.codice.ddf.test.common.LoggingUtils
Logging utilities for testing.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidfailWithThrowableStacktrace(Throwable throwable, String message) Appends the stacktrace of theThrowableto themessageprovided.
-
Method Details
-
failWithThrowableStacktrace
Appends the stacktrace of theThrowableto themessageprovided. It is the responsibility of the caller to end their message with a space or newline.- Parameters:
throwable- contains the stacktrace to be loggedmessage- a descriptive message for the stacktrace
-