Packages

case class ErrorLoggingContext(logger: TracedLogger, properties: Map[String, String], traceContext: TraceContext) extends ContextualizedErrorLogger with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ErrorLoggingContext
  2. Serializable
  3. Product
  4. Equals
  5. ContextualizedErrorLogger
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ErrorLoggingContext(logger: TracedLogger, properties: Map[String, String], traceContext: TraceContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def correlationId: Option[String]
    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def error(message: String, throwable: Throwable): Unit
    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger
  9. def error(message: String): Unit
    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def info(message: String, throwable: Throwable): Unit
    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger
  12. def info(message: String): Unit
    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def logError(err: BaseError, extra: Map[String, String]): Unit

    Log the cause while adding the context into the MDC

    Log the cause while adding the context into the MDC

    We add the context twice to the MDC: first, every map item is added directly and then we add a second string version as "err-context". When we log to file, we add the err-context to the log output. When we log to JSON, we ignore the err-context field.

    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger
  15. val logger: TracedLogger
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. val properties: Map[String, String]
    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. val traceContext: TraceContext
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. def warn(message: String, throwable: Throwable): Unit
    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger
  27. def warn(message: String): Unit
    Definition Classes
    ErrorLoggingContext → ContextualizedErrorLogger

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped