Class

akka.event.slf4j

Slf4jLogger

Related Doc: package slf4j

Permalink

class Slf4jLogger extends Actor with SLF4JLogging with RequiresMessageQueue[LoggerMessageQueueSemantics]

SLF4J logger.

The thread in which the logging was performed is captured in Mapped Diagnostic Context (MDC) with attribute name "sourceThread".

Source
Slf4jLogger.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Slf4jLogger
  2. RequiresMessageQueue
  3. SLF4JLogging
  4. Actor
  5. AnyRef
  6. 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

Instance Constructors

  1. new Slf4jLogger()

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

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 Slf4jLogger to any2stringadd[Slf4jLogger] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Slf4jLogger, B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  7. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  14. def ensuring(cond: (Slf4jLogger) ⇒ Boolean, msg: ⇒ Any): Slf4jLogger

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from Slf4jLogger to Ensuring[Slf4jLogger] 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 finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatTimestamp(timestamp: Long): String

    Permalink

    Override this method to provide a differently formatted timestamp

    Override this method to provide a differently formatted timestamp

    timestamp

    a "currentTimeMillis"-obtained timestamp

    returns

    the given timestamp as a UTC String

    Attributes
    protected
  22. def formatted(fmtstr: String): String

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. lazy val log: Logger

    Permalink
    Definition Classes
    SLF4JLogging
  27. val mdcActorSystemAttributeName: String

    Permalink
  28. val mdcAkkaSourceAttributeName: String

    Permalink
  29. val mdcAkkaTimestamp: String

    Permalink
  30. val mdcThreadAttributeName: String

    Permalink
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  35. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  36. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  38. def receive: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Slf4jLogger → Actor
  39. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  40. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  41. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  42. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  45. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def withMdc(logSource: String, logEvent: LogEvent)(logStatement: ⇒ Unit): Unit

    Permalink
    Annotations
    @inline()
  49. def [B](y: B): (Slf4jLogger, B)

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

Inherited from SLF4JLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped