Package com.github.valfirst.slf4jtest
package com.github.valfirst.slf4jtest
-
ClassesClassDescriptionA set of assertions to validate that logs have been logged to a
TestLogger
, for a specific log level.Representation of a call to a logger for test assertion purposes.Implementation ofLogger
which storesLoggingEvent
s in memory and provides methods to access and remove them in order to facilitate writing tests that assert particular logging calls were made.A set of assertions to validate that logs have been logged to aTestLogger
.A JUnit rule that clears the ThreadLocal state of all the TestLoggers and the TestLoggerFactory.