From d9636988cd8acf789bf17bfd06407a6b5c15985b Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Sun, 11 Jun 2017 18:30:34 +0200 Subject: crossbuilding for all supported Scala versions --- kamon-core/src/main/scala/kamon/ReporterRegistry.scala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kamon-core/src/main/scala/kamon/ReporterRegistry.scala') diff --git a/kamon-core/src/main/scala/kamon/ReporterRegistry.scala b/kamon-core/src/main/scala/kamon/ReporterRegistry.scala index 49c67288..1cdef6ab 100644 --- a/kamon-core/src/main/scala/kamon/ReporterRegistry.scala +++ b/kamon-core/src/main/scala/kamon/ReporterRegistry.scala @@ -20,7 +20,6 @@ import java.util.concurrent.atomic.{AtomicLong, AtomicReference} import java.util.concurrent._ import com.typesafe.config.Config -import com.typesafe.scalalogging.Logger import kamon.metric._ import kamon.trace.Span import org.slf4j.LoggerFactory @@ -258,7 +257,7 @@ class ReporterRegistryImpl(metrics: MetricsSnapshotGenerator, initialConfig: Con } private class MetricReporterTicker(snapshotGenerator: MetricsSnapshotGenerator, reporterEntries: TrieMap[Long, MetricReporterEntry]) extends Runnable { - val logger = Logger(classOf[MetricReporterTicker]) + val logger = LoggerFactory.getLogger(classOf[MetricReporterTicker]) var lastTick = System.currentTimeMillis() def run(): Unit = try { @@ -273,7 +272,7 @@ class ReporterRegistryImpl(metrics: MetricsSnapshotGenerator, initialConfig: Con if(entry.isActive) entry.reporter.reportTickSnapshot(tickSnapshot) - }(executor = entry.executionContext) + }(entry.executionContext) } lastTick = currentTick -- cgit v1.2.3