Packages

t

akka.actor

ActorLogging

trait ActorLogging extends AnyRef

Scala API: Mix in ActorLogging into your Actor to easily obtain a reference to a logger, which is available under the name "log".

class MyActor extends Actor with ActorLogging {
  def receive = {
    case "pigdog" => log.info("We've got yet another pigdog on our hands")
  }
}
Self Type
ActorLogging with Actor
Source
Actor.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ActorLogging
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def log: LoggingAdapter