akka.actor
Interface ActorLogging

All Known Subinterfaces:
FSM<S,D>, LoggingFSM<S,D>
All Known Implementing Classes:
AbstractFSM, AbstractLoggingActor, AbstractLoggingFSM, ClusterClient, ClusterReceptionist, ClusterSingletonManager, ClusterSingletonProxy, DistributedPubSubMediator, Inbox.InboxActor, Main.Terminator, ReliableProxy, ShardCoordinator, ShardRegion, TimerBasedThrottler

public interface ActorLogging

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")
   }
 }
 


Method Summary
 LoggingAdapter _log()
           
 LoggingAdapter log()
           
 

Method Detail

_log

LoggingAdapter _log()

log

LoggingAdapter log()