Package com.github.valfirst.slf4jtest
-
Class Summary Class Description Assertions LevelAssert A set of assertions to validate that logs have been logged to aTestLogger, for a specific log level.LoggingEvent Representation of a call to a logger for test assertion purposes.TestLogger Implementation ofLoggerwhich storesLoggingEvents in memory and provides methods to access and remove them in order to facilitate writing tests that assert particular logging calls were made.TestLoggerAssert A set of assertions to validate that logs have been logged to aTestLogger.TestLoggerFactory TestLoggerFactoryExtension TestLoggerFactoryResetRule A JUnit rule that clears the ThreadLocal state of all the TestLoggers and the TestLoggerFactory.TestMDCAdapter TestSLF4JServiceProvider