Registry / logging / log4s-2-12

log4s-2-12

JSON →
library1.10.0javamavenunverified

High-performance SLF4J wrapper for Scala providing a lightweight logging facade.

<dependency> <groupId>org.log4s</groupId> <artifactId>log4s_2.12</artifactId> <version>1.10.0</version> </dependency>
INSTALL
IMPORT
SIG · LOG4S-2-12
L
log4s-2-12
loggingjavav1.10.0
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.

Logger
org.log4s.getLogger

Logs an info message using Log4s.

import org.log4s.getLogger object MyApp { private val logger = getLogger def main(args: Array[String]): Unit = { logger.info("Hello, Log4s!") } }
Debug
Known issues
breakingLog4s 1.x requires Scala 2.12; not compatible with Scala 2.13 or 3.
fix
Use log4s 2.x for Scala 2.13/3 or cross-compile.
affects: 1.10.0
Upgrade
Version history
1.10.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
log4s-2-12 — mvn dependency:get log4s-2-12 · libregistry