First walk throught of FIXME. See #1378
* Fixed obvious * Created tickets for several, #1408, #1409, #1410, #1412, #1415, 1416, #1418 * Moved LoggingReceive from akka.actor to akka.event * Touched several of the FIXME to make them visible in code review
This commit is contained in:
parent
af3a7101da
commit
80ac1737cd
28 changed files with 146 additions and 129 deletions
|
|
@ -717,11 +717,12 @@ options:
|
|||
``akka.actor.debug.receive`` — which enables the :meth:`loggable`
|
||||
statement to be applied to an actor’s :meth:`receive` function::
|
||||
|
||||
def receive = Actor.loggable(this) { // `Actor` unnecessary with import Actor._
|
||||
import akka.event.LoggingReceive
|
||||
def receive = LoggingReceive(this) {
|
||||
case msg => ...
|
||||
}
|
||||
|
||||
The first argument to :meth:`loggable` defines the source to be used in the
|
||||
The first argument to :meth:`LoggingReceive` defines the source to be used in the
|
||||
logging events, which should be the current actor.
|
||||
|
||||
If the abovementioned setting is not given in ``akka.conf``, this method will
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue