Packages

c

akka.event.slf4j

Slf4jLogger

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
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()

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    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)
    Implicit
    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
    Definition Classes
    AnyRef → Any
  6. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  7. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  9. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  13. implicit val context: ActorContext
    Definition Classes
    Actor
  14. def ensuring(cond: (Slf4jLogger) ⇒ Boolean, msg: ⇒ Any): Slf4jLogger
    Implicit
    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
    Implicit
    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
    Implicit
    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
    Implicit
    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
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def formatTimestamp(timestamp: Long): String

    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
  21. def formatted(fmtstr: String): String
    Implicit
    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()
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. lazy val log: Logger
    Definition Classes
    SLF4JLogging
    Annotations
    @transient()
  26. val mdcActorSystemAttributeName: String
  27. val mdcAkkaSourceAttributeName: String
  28. val mdcAkkaTimestamp: String
  29. val mdcThreadAttributeName: String
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  34. def postStop(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  35. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  36. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  37. def receive: PartialFunction[Any, Unit]
    Definition Classes
    Slf4jLogger → Actor
  38. implicit final val self: ActorRef
    Definition Classes
    Actor
  39. final def sender(): ActorRef
    Definition Classes
    Actor
  40. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    AnyRef → Any
  43. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def withMdc(logSource: String, logEvent: LogEvent)(logStatement: ⇒ Unit): Unit
    Annotations
    @inline()
  48. def [B](y: B): (Slf4jLogger, B)
    Implicit
    This member is added by an implicit conversion from Slf4jLogger to ArrowAssoc[Slf4jLogger] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

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