Package | Description |
---|---|
com.github.valfirst.slf4jtest |
Class and Description |
---|
CleanupStage |
LevelAssert
A set of assertions to validate that logs have been logged to a
TestLogger , for a
specific log level. |
LoggingEvent
Representation of a call to a logger for test assertion purposes.
|
TestLogger
Implementation of
Logger which stores LoggingEvent s 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 a
TestLogger . |
TestLoggerAssert.MdcComparator |
TestLoggerAssert.PredicateBuilder |
TestLoggerFactory |
TestLoggingEventBuilder
A
LoggingEventBuilder which changes the following compared to DefaultLoggingEventBuilder :
The TestLoggingEventBuilder.toLoggingEvent() method is added to build the event without logging it. |
TestMDCAdapter |
Copyright © 2023. All rights reserved.