Registry / logging / scala-logging-slf4j-2-11

scala-logging-slf4j-2-11

JSON →
library2.1.2javamavenunverified

scala-logging-slf4j is a Scala wrapper for SLF4J providing convenient logging macros.

<dependency> <groupId>com.typesafe.scala-logging</groupId> <artifactId>scala-logging-slf4j_2.11</artifactId> <version>2.1.2</version> </dependency>
INSTALL
IMPORT
SIG · SCALA-LOGGING-SLF4
S
scala-logging-slf4j-2-11
loggingjavav2.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LazyLogging
com.typesafe.scalalogging.slf4j.LazyLogging

Use LazyLogging trait to add a logger to a Scala object.

object MyApp extends LazyLogging { def main(args: Array[String]): Unit = { logger.info("Hello, world!") } }
Debug
Known issues
breakingThis package is for Scala 2.11; use scala-logging for newer Scala versions.
fix
Switch to com.typesafe.scala-logging:scala-logging_2.13 or later.
affects: >=2.1.2
Upgrade
Version history
2.1.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
scala-logging-slf4j-2-11 — mvn dependency:get scala-logging-slf4j-2-11 · libregistry