Package akka.event
Class LoggingReceive$
- java.lang.Object
 - 
- akka.event.LoggingReceive$
 
 
- 
public class LoggingReceive$ extends java.lang.Object 
- 
- 
Field Summary
Fields Modifier and Type Field Description static LoggingReceive$MODULE$Static reference to the singleton instance of this Scala object. 
- 
Constructor Summary
Constructors Constructor Description LoggingReceive$() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>apply(Logging.LogLevel logLevel, scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r, ActorContext context)Wrap a Receive partial function in a logging enclosure, which sends a message with given log level to the event bus each time before a message is matched.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.AbstractActor.Receivecreate(AbstractActor.Receive r, AbstractActor.ActorContext context)Java API: compatible with lambda expressionsscala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>withLabel(java.lang.String label, Logging.LogLevel logLevel, scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r, ActorContext context)Create a decorated logger which will append" in state " + labelto each message it logs.scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>withLabel(java.lang.String label, scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r, ActorContext context)Create a decorated logger which will append" in state " + labelto each message it logs. 
 - 
 
- 
- 
Field Detail
- 
MODULE$
public static final LoggingReceive$ MODULE$
Static reference to the singleton instance of this Scala object. 
 - 
 
- 
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.receiveis set in configuration. 
- 
apply
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> apply(Logging.LogLevel logLevel, scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r, ActorContext context)
Wrap a Receive partial function in a logging enclosure, which sends a message with given log level to the event bus each time before a message is matched. This includes messages which are not handled. 
- 
create
public AbstractActor.Receive create(AbstractActor.Receive r, AbstractActor.ActorContext context)
Java API: compatible with lambda expressions 
- 
withLabel
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> withLabel(java.lang.String label, Logging.LogLevel logLevel, scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r, ActorContext context)Create a decorated logger which will append" in state " + labelto each message it logs. 
- 
withLabel
public scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> withLabel(java.lang.String label, scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> r, ActorContext context)Create a decorated logger which will append" in state " + labelto each message it logs. 
 - 
 
 -