akka.event

LoggingAdapter

trait LoggingAdapter extends AnyRef

Logging wrapper to make nicer and optimize: provide template versions which evaluate .toString only if the log level is actually enabled. Typically used by obtaining an implementation from the Logging object:

val log = Logging(<bus>, <source object>)
...
log.info("hello world!")

All log-level methods support simple interpolation templates with up to four arguments placed by using {} within the template (first string argument):

log.error(exception, "Exception while processing {} in state {}", msg, state)

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LoggingAdapter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def isDebugEnabled: Boolean

  2. abstract def isErrorEnabled: Boolean

  3. abstract def isInfoEnabled: Boolean

  4. abstract def isWarningEnabled: Boolean

  5. abstract def notifyDebug(message: String): Unit

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

    Attributes
    protected
  7. abstract def notifyError(message: String): Unit

    Attributes
    protected
  8. abstract def notifyInfo(message: String): Unit

    Attributes
    protected
  9. abstract def notifyWarning(message: String): Unit

    Attributes
    protected

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

  12. def debug(message: String): Unit

  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

  19. def error(message: String): Unit

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

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

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

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

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

  25. def finalize(): Unit

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

  27. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

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

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

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

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

  33. def info(message: String): Unit

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

  35. final def isInstanceOf[T0]: Boolean

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

  37. def log(level: LogLevel, template: String, arg1: Any, arg2: Any, arg3: Any): Unit

  38. def log(level: LogLevel, template: String, arg1: Any, arg2: Any): Unit

  39. def log(level: LogLevel, template: String, arg1: Any): Unit

  40. def log(level: LogLevel, message: String): Unit

  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. final def notify(): Unit

    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

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

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

    Definition Classes
    AnyRef
  46. def toString(): String

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

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

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

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

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

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

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

  54. def warning(message: String): Unit

Inherited from AnyRef

Inherited from Any

Ungrouped