Packages

final case class LogContext extends Product with Serializable

A LogContext stores context associated with logging operations.

Self Type
LogContext
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LogContext
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def ++(that: LogContext): LogContext

    Merges this context with the specified context.

  2. def annotate[A](annotation: LogAnnotation[A], newA: A): LogContext

    Annotates the context with the specified annotation and value, returning the new context.

  3. def apply[A](logAnnotation: LogAnnotation[A]): String

    Renders value for given annotation

  4. def get[A](annotation: LogAnnotation[A]): A

    Retrieves the specified annotation from the context.

  5. def merge(that: LogContext): LogContext

    Merges this context with the specified context.

  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. 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