static void |
LogUtil.enhanceLogWithCorrelationId(akka.event.DiagnosticLoggingAdapter loggingAdapter,
CharSequence correlationId,
LogUtil.MdcField... additionalMdcFields) |
Enhances the passed DiagnosticLoggingAdapter with an "MDC" map entry for the passed correlationId
(if present).
|
static void |
LogUtil.enhanceLogWithCorrelationId(akka.event.DiagnosticLoggingAdapter loggingAdapter,
Optional<String> correlationId,
LogUtil.MdcField... additionalMdcFields) |
Enhances the passed DiagnosticLoggingAdapter with an "MDC" map entry for the passed correlationId
(if present).
|
static void |
LogUtil.enhanceLogWithCorrelationId(akka.event.DiagnosticLoggingAdapter loggingAdapter,
org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders,
LogUtil.MdcField... additionalMdcFields) |
Enhances the passed DiagnosticLoggingAdapter with an "MDC" map entry by extracting a
correlationId of the passed dittoHeaders (if present).
|
static void |
LogUtil.enhanceLogWithCorrelationId(akka.event.DiagnosticLoggingAdapter loggingAdapter,
org.eclipse.ditto.model.base.headers.WithDittoHeaders<?> withDittoHeaders,
LogUtil.MdcField... additionalMdcFields) |
Enhances the passed DiagnosticLoggingAdapter with an "MDC" map entry by extracting a
correlationId of the passed withDittoHeaders (if present).
|
static void |
LogUtil.enhanceLogWithCustomField(akka.event.DiagnosticLoggingAdapter loggingAdapter,
String fieldName,
CharSequence fieldValue,
LogUtil.MdcField... additionalMdcFields) |
Enhances the passed DiagnosticLoggingAdapter with an "MDC" map entry for the passed fieldName
with the passed fieldValue (if present).
|
static void |
LogUtil.enhanceLogWithCustomField(LogUtil.MdcField mdcField) |
Enhances the default MDC with a map entry for the passed mdcFields.
|