Interface LogUtil.MdcField

  • Enclosing class:
    LogUtil

    public static interface LogUtil.MdcField
    Represents an MDC field that can be added to the MDC of a logger.
    • 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.