question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scala 2.10 version of the scala-logging not in Maven Central?

See original GitHub issue

I couldn’t find the logging library from Maven Central or Sonatype using the dependency specified in the README:

"com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.0.1"

Searching Maven Central returns only the Scala 2.11-RC versions of scala-logging. Is there a different place to look?

http://search.maven.org/#search|ga|1|com.typesafe logging

There is a scalalogging-slf4j for Scala 2.10, but the version only goes up to 1.1.0, not the 2.x released.

http://mvnrepository.com/artifact/com.typesafe/scalalogging-slf4j_2.10

Thanks.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
carlosmarincommented, Mar 21, 2017

Since this came at the top of my google search, for others trying to do logging in Scala 2.x (< 2.11).

Use:

import com.typesafe.scalalogging.slf4j.Logger
import org.slf4j.LoggerFactory
val logger = Logger(LoggerFactory.getLogger("TheLoggerName"))

And @ build.sbt (libraryDependencies): "com.typesafe" %% "scalalogging-slf4j" % "1.1.0"

0reactions
hseebergercommented, Apr 23, 2014

It’s technically impossible, since Scala Logging 2.x is using macro features only available in Scala 2.11.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scala 2.10 version of the scala-logging not in Maven Central?
Searching Maven Central returns only the Scala 2.11-RC versions of scala-logging. Is there a different place to look?
Read more >
logging-log4j-scala - Scaladex
Log4j Scala API is a Scala logging facade based on Log4j 2. This supports Scala 2.10, and 2.11 on Java 7 at minimum,...
Read more >
jar - Importing scala libraries with Maveen is refused, how to ...
My scala version is 2.13.0 and sbt is 1.6.1 after compiling sbt builds the program yields errors stated below. download error: Caught java.io....
Read more >
Apache Log4j Scala API
Log4j Scala API is a Scala logging facade based on Log4j 2. Support for Scala versions 2.10, 2.11, and 2.12 is provided, and...
Read more >
Scala 2.10.0-RC1 Staged - Google Groups
A beta version of Kiama compiled with 2.10.0-RC1 has now been published to the Sonatype OSS repository. It should appear on Maven Central...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found