diff options
Diffstat (limited to 'kamon-uow/src/main/scala/kamon/logging/UowActorLogging.scala')
-rw-r--r-- | kamon-uow/src/main/scala/kamon/logging/UowActorLogging.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-uow/src/main/scala/kamon/logging/UowActorLogging.scala b/kamon-uow/src/main/scala/kamon/logging/UowActorLogging.scala index e117db1b..2347bbe9 100644 --- a/kamon-uow/src/main/scala/kamon/logging/UowActorLogging.scala +++ b/kamon-uow/src/main/scala/kamon/logging/UowActorLogging.scala @@ -1,13 +1,13 @@ package kamon.logging import akka.actor.Actor -import kamon.Kamon +import kamon.{Tracer, Kamon} trait UowActorLogging { self: Actor => def logWithUOW(text: String) = { - val uow = Kamon.context.map(_.userContext).getOrElse("NA") + val uow = Tracer.context.map(_.userContext).getOrElse("NA") println(s"=======>[$uow] - $text") } |