Interface LogUtil.MdcField
-
- Enclosing class:
- LogUtil
public static interface LogUtil.MdcFieldRepresents an MDC field that can be added to the MDC of a logger.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Get the name of the MDC field.CharSequencegetValue()Get the value of the MDC field.
-
-
-
Method Detail
-
getName
String getName()
Get the name of the MDC field.- Returns:
- the name.
-
getValue
@Nullable CharSequence getValue()
Get the value of the MDC field.- Returns:
- the value.
-
-