final case class LogContext extends Product with Serializable
A LogContext
stores context associated with logging operations.
- Self Type
- LogContext
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogContext
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def ++(that: LogContext): LogContext
Merges this context with the specified context.
- def annotate[A](annotation: LogAnnotation[A], newA: A): LogContext
Annotates the context with the specified annotation and value, returning the new context.
- def apply[A](logAnnotation: LogAnnotation[A]): String
Renders value for given annotation
- def get[A](annotation: LogAnnotation[A]): A
Retrieves the specified annotation from the context.
- def merge(that: LogContext): LogContext
Merges this context with the specified context.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def renderContext: Map[String, String]
Renders all log annotations in current context.
Renders all log annotations in current context.
- returns
Map from annotation name to rendered value