akka.event
Class LoggingReceive$

java.lang.Object
  extended by akka.event.LoggingReceive$

public class LoggingReceive$
extends java.lang.Object


Field Summary
static LoggingReceive$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
LoggingReceive$()
           
 
Method Summary
 scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> apply(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r, ActorContext context)
          Wrap a Receive partial function in a logging enclosure, which sends a debug message to the event bus each time before a message is matched.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE$

public static final LoggingReceive$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

LoggingReceive$

public LoggingReceive$()
Method Detail

apply

public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> apply(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r,
                                                                             ActorContext context)
Wrap a Receive partial function in a logging enclosure, which sends a debug message to the event bus each time before a message is matched. This includes messages which are not handled.


 def receive = LoggingReceive {
   case x => ...
 }
 

This method does NOT modify the given Receive unless akka.actor.debug.receive is set within akka.conf.