Package | Description |
---|---|
com.github.valfirst.slf4jtest |
Modifier and Type | Field and Description |
---|---|
static TestLoggerAssert.MdcComparator |
TestLoggerAssert.MdcComparator.CONTAINING
Validates the MDC contains all specified entries, but will not fail if additional entries
exist.
|
static TestLoggerAssert.MdcComparator |
TestLoggerAssert.MdcComparator.EXACT
Validates the contents of the MDC on the logging event exactly match the specified values.
|
static TestLoggerAssert.MdcComparator |
TestLoggerAssert.MdcComparator.IGNORING
Disables verification of the MDC contents.
|
Modifier and Type | Method and Description |
---|---|
TestLoggerAssert |
TestLoggerAssert.usingMdcComparator(TestLoggerAssert.MdcComparator mdcComparator)
Allows the comparison strategy for verifying the MDC contents to be configured.
|
TestLoggerAssert.PredicateBuilder |
TestLoggerAssert.PredicateBuilder.withMdc(Map<String,String> mdc,
TestLoggerAssert.MdcComparator comparator) |
Copyright © 2023. All rights reserved.