Package com.github.robtimus.junit.support.extension.testlogger
Provides interfaces and classes for the
TestLogger extension.-
Class Summary Class Description JdkLoggerContext JdkLoggerContextrepresents a JDKLogger.Log4jLoggerContext Log4jLoggerContextrepresents a Log4jLogger(2.x only).Log4jNullAppender An appender that ignores events.Log4jNullAppender.Builder A builder forLog4jNullAppenderinstances.LogbackLoggerContext LogbackLoggerContextrepresents a logbackLogger.LogCaptor<T> An object that captures logged events or records.Reload4jLoggerContext Reload4jLoggerContextrepresents a reload4jLogger. -
Annotation Types Summary Annotation Type Description TestLogger TestLoggercan be used to annotate a field or a parameter in a lifecycle method or test method that should be resolved into a logging context.TestLogger.ForClass TestLogger.ForClasscan be used instead ofTestLoggerto provide the logger name as a class.TestLogger.Root TestLogger.Rootcan be used instead ofTestLoggerto inject a logging context for the root logger.