class LoggingReceive extends Receive
This decorator adds invocation logging to a Receive function.
- Source
- LoggingReceive.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- LoggingReceive
- PartialFunction
- Function1
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new LoggingReceive(source: Option[AnyRef], r: Receive)(implicit context: ActorContext)
- new LoggingReceive(source: Option[AnyRef], r: Receive, label: Option[String])(implicit context: ActorContext)
-
new
LoggingReceive(source: Option[AnyRef], r: Receive, label: Option[String], logLevel: LogLevel)(implicit context: ActorContext)
- source
the log source, if not defined the actor of the context will be used
Value Members
-
def
andThen[C](k: (Unit) ⇒ C): PartialFunction[Any, C]
- Definition Classes
- PartialFunction → Function1
-
def
apply(o: Any): Unit
- Definition Classes
- LoggingReceive → Function1
-
def
applyOrElse[A1 <: Any, B1 >: Unit](x: A1, default: (A1) ⇒ B1): B1
- Definition Classes
- PartialFunction
-
def
compose[A](g: (A) ⇒ Any): (A) ⇒ Unit
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
isDefinedAt(o: Any): Boolean
- Definition Classes
- LoggingReceive → PartialFunction
-
def
lift: (Any) ⇒ Option[Unit]
- Definition Classes
- PartialFunction
-
def
orElse[A1 <: Any, B1 >: Unit](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
runWith[U](action: (Unit) ⇒ U): (Any) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any