LoggingReceive with implicit ActorContext instead of ActorSystem. See #1720
This commit is contained in:
parent
519ce8a142
commit
52aa4f2a64
4 changed files with 13 additions and 17 deletions
|
|
@ -61,7 +61,6 @@ object TestkitDocSpec {
|
|||
class LoggingActor extends Actor {
|
||||
//#logging-receive
|
||||
import akka.event.LoggingReceive
|
||||
implicit def system = context.system
|
||||
def receive = LoggingReceive(this) {
|
||||
case msg ⇒ // Do something...
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue