Packages

package mdc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait Mdc extends AnyRef
  2. class MdcExecutionContext extends ExecutionContextExecutor with MdcExecutorService

    Manages execution to ensure that the given MDC context are set correctly in the current thread.

    Manages execution to ensure that the given MDC context are set correctly in the current thread. Actual execution is performed by a delegate ExecutionContext.

    This is mostly provided for tests, and it is expected that the ExecutionContext is injected as provided by bootstrap-play.

  3. trait MdcExecutorService extends AnyRef
  4. trait MdcImplicits extends AnyRef

Value Members

  1. object Mdc extends Mdc
  2. object MdcExecutionContext
  3. object MdcImplicits extends MdcImplicits
  4. object RequestMdc

    Provides a stable store of MDC data relating to a Request.

    Provides a stable store of MDC data relating to a Request.

    As long as all data to be added to the MDC is added via RequestMdc (RequestMdc.add(request.id, Map("mykey", "myval"))), then RequestMdc.initMdc(request.id) can be called whenever a Request is in scope to ensure the thread has the correct MDC.

Ungrouped