Mdc

uk.gov.hmrc.mdc.Mdc
See theMdc companion trait
object Mdc extends Mdc

Attributes

Companion
trait
Graph
Supertypes
trait Mdc
class Object
trait Matchable
class Any
Self type
Mdc.type

Members list

Value members

Inherited methods

def mdcData: Map[String, String]

Attributes

Inherited from:
Mdc
def preservingMdc[A](block: => Future[A])(implicit ec: ExecutionContext): Future[A]

Restores MDC data to the continuation of a block, which may be discarding MDC data (e.g. uses a different execution context)

Restores MDC data to the continuation of a block, which may be discarding MDC data (e.g. uses a different execution context)

Attributes

Inherited from:
Mdc
def putMdc(mdc: Map[String, String]): Unit

Attributes

Inherited from:
Mdc
def withMdc[A](block: => Future[A], mdcData: Map[String, String])(implicit ec: ExecutionContext): Future[A]

Attributes

Inherited from:
Mdc