Class LogCapture
- java.lang.Object
-
- org.opendaylight.infrautils.testutils.LogCapture
-
public class LogCapture extends Object
Captured log statement.- Author:
- Michael Vorburger.ch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogCapture.Level
-
Constructor Summary
Constructors Constructor Description LogCapture(LogCapture.Level level, String message, @Nullable Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(@Nullable Object obj)Optional<Throwable>getCause()StringgetMessage()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
LogCapture
public LogCapture(LogCapture.Level level, String message, @Nullable Throwable cause)
-
-
Method Detail
-
getMessage
public String getMessage()
-
-