Trait

akka.event

DiagnosticLoggingAdapter

Related Doc: package event

Permalink

trait DiagnosticLoggingAdapter extends LoggingAdapter

LoggingAdapter extension which adds MDC support. Only recommended to be used within Actors as it isn't thread safe.

Source
Logging.scala
Linear Supertypes
LoggingAdapter, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiagnosticLoggingAdapter
  2. LoggingAdapter
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type MDC = Map[String, Any]

    Permalink
    Definition Classes
    LoggingAdapter

Abstract Value Members

  1. abstract def isDebugEnabled: Boolean

    Permalink
    Definition Classes
    LoggingAdapter
  2. abstract def isErrorEnabled: Boolean

    Permalink
    Definition Classes
    LoggingAdapter
  3. abstract def isInfoEnabled: Boolean

    Permalink
    Definition Classes
    LoggingAdapter
  4. abstract def isWarningEnabled: Boolean

    Permalink
    Definition Classes
    LoggingAdapter
  5. abstract def notifyDebug(message: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingAdapter
  6. abstract def notifyError(cause: Throwable, message: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingAdapter
  7. abstract def notifyError(message: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingAdapter
  8. abstract def notifyInfo(message: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingAdapter
  9. abstract def notifyWarning(message: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingAdapter

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DiagnosticLoggingAdapter to any2stringadd[DiagnosticLoggingAdapter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DiagnosticLoggingAdapter, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DiagnosticLoggingAdapter to ArrowAssoc[DiagnosticLoggingAdapter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearMDC(): Unit

    Permalink

    Clear all entries in the MDC

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def debug(template: String, arg1: Any, arg2: Any, arg3: Any, arg4: Any): Unit

    Permalink

    Message template with 4 replacement arguments.

    Message template with 4 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  10. def debug(template: String, arg1: Any, arg2: Any, arg3: Any): Unit

    Permalink

    Message template with 3 replacement arguments.

    Message template with 3 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  11. def debug(template: String, arg1: Any, arg2: Any): Unit

    Permalink

    Message template with 2 replacement arguments.

    Message template with 2 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  12. def debug(template: String, arg1: Any): Unit

    Permalink

    Message template with 1 replacement argument.

    Message template with 1 replacement argument.

    If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  13. def debug(message: String): Unit

    Permalink

    Log message at debug level.

    Log message at debug level.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  14. def ensuring(cond: (DiagnosticLoggingAdapter) ⇒ Boolean, msg: ⇒ Any): DiagnosticLoggingAdapter

    Permalink
    Implicit information
    This member is added by an implicit conversion from DiagnosticLoggingAdapter to Ensuring[DiagnosticLoggingAdapter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (DiagnosticLoggingAdapter) ⇒ Boolean): DiagnosticLoggingAdapter

    Permalink
    Implicit information
    This member is added by an implicit conversion from DiagnosticLoggingAdapter to Ensuring[DiagnosticLoggingAdapter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): DiagnosticLoggingAdapter

    Permalink
    Implicit information
    This member is added by an implicit conversion from DiagnosticLoggingAdapter to Ensuring[DiagnosticLoggingAdapter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): DiagnosticLoggingAdapter

    Permalink
    Implicit information
    This member is added by an implicit conversion from DiagnosticLoggingAdapter to Ensuring[DiagnosticLoggingAdapter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def error(template: String, arg1: Any, arg2: Any, arg3: Any, arg4: Any): Unit

    Permalink

    Message template with 4 replacement arguments.

    Message template with 4 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  21. def error(template: String, arg1: Any, arg2: Any, arg3: Any): Unit

    Permalink

    Message template with 3 replacement arguments.

    Message template with 3 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  22. def error(template: String, arg1: Any, arg2: Any): Unit

    Permalink

    Message template with 2 replacement arguments.

    Message template with 2 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  23. def error(template: String, arg1: Any): Unit

    Permalink

    Message template with 1 replacement argument.

    Message template with 1 replacement argument.

    If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  24. def error(message: String): Unit

    Permalink

    Log message at error level, without providing the exception that caused the error.

    Log message at error level, without providing the exception that caused the error.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  25. def error(cause: Throwable, template: String, arg1: Any, arg2: Any, arg3: Any, arg4: Any): Unit

    Permalink

    Message template with 4 replacement arguments.

    Message template with 4 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  26. def error(cause: Throwable, template: String, arg1: Any, arg2: Any, arg3: Any): Unit

    Permalink

    Message template with 3 replacement arguments.

    Message template with 3 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  27. def error(cause: Throwable, template: String, arg1: Any, arg2: Any): Unit

    Permalink

    Message template with 2 replacement arguments.

    Message template with 2 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  28. def error(cause: Throwable, template: String, arg1: Any): Unit

    Permalink

    Message template with 1 replacement argument.

    Message template with 1 replacement argument.

    If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  29. def error(cause: Throwable, message: String): Unit

    Permalink

    Log message at error level, including the exception that caused the error.

    Log message at error level, including the exception that caused the error.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def format(t: String, arg: Any*): String

    Permalink
    Definition Classes
    LoggingAdapter
  32. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DiagnosticLoggingAdapter to StringFormat[DiagnosticLoggingAdapter] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  33. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  34. def getMDC: Map[String, Any]

    Permalink

    Java API: Mapped Diagnostic Context for application defined values which can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured.

    Java API: Mapped Diagnostic Context for application defined values which can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured. Visit Logback Docs: MDC for more information. Note tha it returns a COPY of the actual MDC values. You cannot modify any value by changing the returned Map. Code like the following won't have any effect unless you set back the modified Map.

    Map mdc = log.getMDC();
    mdc.put("key", value);
    // NEEDED
    log.setMDC(mdc);
    returns

    A copy of the actual MDC values

  35. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  36. def info(template: String, arg1: Any, arg2: Any, arg3: Any, arg4: Any): Unit

    Permalink

    Message template with 4 replacement arguments.

    Message template with 4 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  37. def info(template: String, arg1: Any, arg2: Any, arg3: Any): Unit

    Permalink

    Message template with 3 replacement arguments.

    Message template with 3 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  38. def info(template: String, arg1: Any, arg2: Any): Unit

    Permalink

    Message template with 2 replacement arguments.

    Message template with 2 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  39. def info(template: String, arg1: Any): Unit

    Permalink

    Message template with 1 replacement argument.

    Message template with 1 replacement argument.

    If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  40. def info(message: String): Unit

    Permalink

    Log message at info level.

    Log message at info level.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  41. final def isEnabled(level: LogLevel): Boolean

    Permalink

    returns

    true if the specified log level is enabled

    Definition Classes
    LoggingAdapter
  42. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  43. def log(level: LogLevel, template: String, arg1: Any, arg2: Any, arg3: Any, arg4: Any): Unit

    Permalink

    Message template with 4 replacement arguments.

    Message template with 4 replacement arguments.

    Definition Classes
    LoggingAdapter
  44. def log(level: LogLevel, template: String, arg1: Any, arg2: Any, arg3: Any): Unit

    Permalink

    Message template with 3 replacement arguments.

    Message template with 3 replacement arguments.

    Definition Classes
    LoggingAdapter
  45. def log(level: LogLevel, template: String, arg1: Any, arg2: Any): Unit

    Permalink

    Message template with 2 replacement arguments.

    Message template with 2 replacement arguments.

    Definition Classes
    LoggingAdapter
  46. def log(level: LogLevel, template: String, arg1: Any): Unit

    Permalink

    Message template with 1 replacement argument.

    Message template with 1 replacement argument.

    If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

    Definition Classes
    LoggingAdapter
  47. def log(level: LogLevel, message: String): Unit

    Permalink

    Log message at the specified log level.

    Log message at the specified log level.

    Definition Classes
    LoggingAdapter
  48. def mdc(mdc: MDC): Unit

    Permalink

    Scala API: Sets the values to be added to the MDC (Mapped Diagnostic Context) before the log is appended.

    Scala API: Sets the values to be added to the MDC (Mapped Diagnostic Context) before the log is appended. These values can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured. Visit Logback Docs: MDC for more information.

  49. def mdc: MDC

    Permalink

    Scala API: Mapped Diagnostic Context for application defined values which can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured.

    Scala API: Mapped Diagnostic Context for application defined values which can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured. Visit Logback Docs: MDC for more information.

    returns

    A Map containing the MDC values added by the application, or empty Map if no value was added.

    Definition Classes
    DiagnosticLoggingAdapterLoggingAdapter
  50. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  53. final def notifyLog(level: LogLevel, message: String): Unit

    Permalink
    Definition Classes
    LoggingAdapter
  54. def setMDC(jMdc: Map[String, Any]): Unit

    Permalink

    Java API: Sets the values to be added to the MDC (Mapped Diagnostic Context) before the log is appended.

    Java API: Sets the values to be added to the MDC (Mapped Diagnostic Context) before the log is appended. These values can be used in PatternLayout when akka.event.slf4j.Slf4jLogger is configured. Visit Logback Docs: MDC for more information.

  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  56. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  57. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. def warning(template: String, arg1: Any, arg2: Any, arg3: Any, arg4: Any): Unit

    Permalink

    Message template with 4 replacement arguments.

    Message template with 4 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  61. def warning(template: String, arg1: Any, arg2: Any, arg3: Any): Unit

    Permalink

    Message template with 3 replacement arguments.

    Message template with 3 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  62. def warning(template: String, arg1: Any, arg2: Any): Unit

    Permalink

    Message template with 2 replacement arguments.

    Message template with 2 replacement arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  63. def warning(template: String, arg1: Any): Unit

    Permalink

    Message template with 1 replacement argument.

    Message template with 1 replacement argument.

    If arg1 is an Array it will be expanded into replacement arguments, which is useful when there are more than four arguments.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  64. def warning(message: String): Unit

    Permalink

    Log message at warning level.

    Log message at warning level.

    Definition Classes
    LoggingAdapter
    See also

    LoggingAdapter

  65. def [B](y: B): (DiagnosticLoggingAdapter, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DiagnosticLoggingAdapter to ArrowAssoc[DiagnosticLoggingAdapter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from LoggingAdapter

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DiagnosticLoggingAdapter to any2stringadd[DiagnosticLoggingAdapter]

Inherited by implicit conversion StringFormat from DiagnosticLoggingAdapter to StringFormat[DiagnosticLoggingAdapter]

Inherited by implicit conversion Ensuring from DiagnosticLoggingAdapter to Ensuring[DiagnosticLoggingAdapter]

Inherited by implicit conversion ArrowAssoc from DiagnosticLoggingAdapter to ArrowAssoc[DiagnosticLoggingAdapter]

Ungrouped