public static final class TestLoggerAssert.MdcComparator extends Object
Modifier and Type | Field and Description |
---|---|
static TestLoggerAssert.MdcComparator |
CONTAINING
Validates the MDC contains all specified entries, but will not fail if additional entries
exist.
|
static TestLoggerAssert.MdcComparator |
EXACT
Validates the contents of the MDC on the logging event exactly match the specified values.
|
static TestLoggerAssert.MdcComparator |
IGNORING
Disables verification of the MDC contents.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compare(Map<String,String> actual,
Map<String,String> expected) |
public static final TestLoggerAssert.MdcComparator IGNORING
public static final TestLoggerAssert.MdcComparator EXACT
public static final TestLoggerAssert.MdcComparator CONTAINING
Copyright © 2023. All rights reserved.