diff options
Diffstat (limited to 'kamon-core/src/main')
-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)) } |