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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ActorLogging
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
- def log: LoggingAdapter