object MDC
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MDC
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[Return](f: (MDC) ⇒ Return): Return
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clear(): Unit
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def contains(key: String): Boolean
- def context[Return](values: (String, MDCValue)*)(f: ⇒ Return): Return
-
def
contextualize[Return](mdc: MDC)(f: ⇒ Return): Return
Sets the instance for the current context for the duration of the function
f. -
var
creator: (Option[MDC]) ⇒ MDC
The function to create MDC instances.
The function to create MDC instances. Receives the parent and creates a new MDC instance. By default, this will use MDCMap, but this can be replaced to provide a different implementation.
- def elapsed(key: String = "elapsed", timeFunction: () ⇒ Long = Time.function): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def get(key: String): Option[Any]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getOrElse(key: String, default: ⇒ Any): Any
-
lazy val
global: MDC
Global MDC instance.
Global MDC instance. By default, all instances of MDC inherit from this.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
implicit
def
instance: MDC
Convenience implicit to get the current instance of MDC from the manager
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
var
manager: MDCManager
The MDCManager responsible for retrieving an MDC instance for the context.
The MDCManager responsible for retrieving an MDC instance for the context. By default this uses MDCThreadLocal but can replaced with something more advanced.
- def map: Map[String, () ⇒ Any]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def remove(key: String): Option[Any]
- def set(key: String, value: Option[Any]): Option[Any]
-
def
set(mdc: MDC): Unit
Sets the instance for the current context
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def update(key: String, value: ⇒ Any): Option[Any]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated