Fixing bad ScalaDoc
This commit is contained in:
parent
1f38866b5b
commit
d66d642b8f
1 changed files with 2 additions and 2 deletions
|
|
@ -181,13 +181,13 @@ object Status {
|
||||||
/**
|
/**
|
||||||
* Mix in ActorLogging into your Actor to easily obtain a reference to a logger, which is available under the name "log".
|
* Mix in ActorLogging into your Actor to easily obtain a reference to a logger, which is available under the name "log".
|
||||||
*
|
*
|
||||||
* {{
|
* {{{
|
||||||
* class MyActor extends Actor with ActorLogging {
|
* class MyActor extends Actor with ActorLogging {
|
||||||
* def receive = {
|
* def receive = {
|
||||||
* case "pigdog" => log.info("We've got yet another pigdog on our hands")
|
* case "pigdog" => log.info("We've got yet another pigdog on our hands")
|
||||||
* }
|
* }
|
||||||
* }
|
* }
|
||||||
* }}
|
* }}}
|
||||||
*/
|
*/
|
||||||
trait ActorLogging { this: Actor ⇒
|
trait ActorLogging { this: Actor ⇒
|
||||||
val log = akka.event.Logging(context.system, this)
|
val log = akka.event.Logging(context.system, this)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue