c

com.digitalasset.canton.logging

AbstractErrorLoggingContext

abstract class AbstractErrorLoggingContext extends ErrorLoggingContext

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractErrorLoggingContext
  2. ErrorLoggingContext
  3. BaseErrorLogger
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

Abstract Value Members

  1. abstract def logger: TracedLogger
    Definition Classes
    ErrorLoggingContext
  2. abstract def properties: Map[String, String]
    Definition Classes
    ErrorLoggingContextBaseErrorLogger
  3. abstract def traceContext: TraceContext
    Definition Classes
    ErrorLoggingContext

Concrete 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]) @IntrinsicCandidate() @native()
  6. def correlationId: Option[String]
  7. def debug(message: String, throwable: Throwable): Unit
  8. def debug(message: String): Unit
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def error(message: String, throwable: Throwable): Unit
  12. def error(message: String): Unit
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def info(message: String, throwable: Throwable): Unit
  16. def info(message: String): Unit
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. 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
    AbstractErrorLoggingContextBaseErrorLogger
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def noTracingLogger: Logger
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def trace(message: String, throwable: Throwable): Unit
  26. def trace(message: String): Unit
  27. def traceId: Option[String]
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. def warn(message: String, throwable: Throwable): Unit
  32. def warn(message: String): Unit
  33. def withContext[A](context: Map[String, String])(body: => A): A

Deprecated Value Members

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

    (Since version 9)

Inherited from ErrorLoggingContext

Inherited from BaseErrorLogger

Inherited from AnyRef

Inherited from Any

Ungrouped