Package akka.actor
Interface ActorLogging
-
- All Known Subinterfaces:
AsyncWriteProxy,FSM<S,D>,LeveldbCompaction,LeveldbStore,LoggingFSM<S,D>,SnapshotStore
- All Known Implementing Classes:
AbstractFSM,AbstractFSMWithStash,AbstractLoggingActor,AbstractLoggingFSM,ClusterSingletonManager,ClusterSingletonProxy,DistributedPubSubMediator,InetAddressDnsResolver,JournalPerfSpec.BenchActor,LmdbDurableStore,NoSnapshotStore,PersistencePluginProxy,PersistenceTestKitPlugin,PersistenceTestKitSnapshotPlugin,RemoveInternalClusterShardingData,Replicator,SharedLeveldbStore,SimpleDnsManager,SnapshotStore
public interface ActorLoggingScala 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)LoggingAdapterlog()
-
-
-
Method Detail
-
_log_$eq
void _log_$eq(LoggingAdapter x$1)
-
log
LoggingAdapter log()
-
-