some polishing of new Logging

- add scaladoc
- remove (empty) EventHandler.scala
- make BugLogging more of an implementation detail, i.e. use the
  Logging() factories to get a Logging implementation.
This commit is contained in:
Roland 2011-10-29 19:10:58 +02:00
parent d1e0f411ef
commit 55f896226c
7 changed files with 87 additions and 82 deletions

View file

@ -9,14 +9,14 @@ import org.scalatest.matchers.MustMatchers
import akka.AkkaApplication
import akka.actor.{ Actor, ActorRef, Props }
import akka.dispatch.MessageDispatcher
import akka.event.{ Logging, MainBusLogging }
import akka.event.Logging
import akka.util.duration._
import akka.dispatch.FutureTimeoutException
abstract class AkkaSpec(_application: AkkaApplication = AkkaApplication())
extends TestKit(_application) with WordSpec with MustMatchers with BeforeAndAfterAll {
val log: Logging = new MainBusLogging(app.mainbus, this)
val log: Logging = Logging(app.mainbus, this)
final override def beforeAll {
atStartup()