Package akka.actor
Interface ActorLogging
-
- All Known Subinterfaces:
AsyncWriteProxy
,FSM<S,D>
,LeveldbCompaction
,LeveldbStore
,LoggingFSM<S,D>
,LoggingPersistentFSM<S,D,E>
,PersistentFSM<S,D,E>
,PersistentFSMBase<S,D,E>
,SnapshotStore
- All Known Implementing Classes:
AbstractFSM
,AbstractFSMWithStash
,AbstractLoggingActor
,AbstractLoggingFSM
,AbstractPersistentFSM
,AbstractPersistentFSMBase
,AbstractPersistentLoggingFSM
,ClusterClient
,ClusterReceptionist
,ClusterReceptionist.Internal$.ClientResponseTunnel
,ClusterSingletonManager
,ClusterSingletonProxy
,DistributedPubSubMediator
,InetAddressDnsResolver
,JournalPerfSpec.BenchActor
,LmdbDurableStore
,Main.Terminator
,NoSnapshotStore
,PersistencePluginProxy
,PersistenceTestKitPlugin
,PersistenceTestKitSnapshotPlugin
,RemoveInternalClusterShardingData
,Replicator
,SharedLeveldbStore
,SimpleDnsManager
,SnapshotStore
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
_log_$eq(LoggingAdapter x$1)
LoggingAdapter
log()
-
-
-
Method Detail
-
_log_$eq
void _log_$eq(LoggingAdapter x$1)
-
log
LoggingAdapter log()
-
-