diff options
author | Diego <diegolparra@gmail.com> | 2014-08-05 23:58:45 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-08-05 23:58:45 -0300 |
commit | 0d9a3a6a43a20b2e9d8f0bdf2cdb81fc233b7249 (patch) | |
tree | 0f42aef14e8c5ea277bd65078be7fa27b2270bdc | |
parent | c3556ecee20f3ebb74b1bfdaab413760714bb4b0 (diff) | |
download | Kamon-0d9a3a6a43a20b2e9d8f0bdf2cdb81fc233b7249.tar.gz Kamon-0d9a3a6a43a20b2e9d8f0bdf2cdb81fc233b7249.tar.bz2 Kamon-0d9a3a6a43a20b2e9d8f0bdf2cdb81fc233b7249.zip |
+ play-example: included UserMetrics, LogReporter and SystemMetrics extensions
-rw-r--r-- | kamon-core/src/main/scala/kamon/Kamon.scala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kamon-core/src/main/scala/kamon/Kamon.scala b/kamon-core/src/main/scala/kamon/Kamon.scala index 44e895bd..24bbb5f0 100644 --- a/kamon-core/src/main/scala/kamon/Kamon.scala +++ b/kamon-core/src/main/scala/kamon/Kamon.scala @@ -16,13 +16,10 @@ package kamon import akka.actor._ -import akka.event.Logging.{ Info, Error } +import akka.event.Logging.Error object Kamon { trait Extension extends akka.actor.Extension { - def publishInfoMessage(system: ActorSystem, msg: String): Unit = { - system.eventStream.publish(Info("", classOf[Extension], msg)) - } def publishErrorMessage(system: ActorSystem, msg: String, cause: Throwable): Unit = { system.eventStream.publish(new Error(cause, "", classOf[Extension], msg)) } |