Registry / logging / log4cats-core-2-12

log4cats-core-2-12

JSON →
library1.1.1javamavenunverified

Functional logging library for Scala, providing a cats-effect based logging interface.

<dependency> <groupId>io.chrisdavenport</groupId> <artifactId>log4cats-core_2.12</artifactId> <version>1.1.1</version> </dependency>
INSTALL
IMPORT
SIG · LOG4CATS-CORE-2-12
L
log4cats-core-2-12
loggingjavav1.1.1
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
io.chrisdavenport.log4cats.Logger

Creates a SLF4J-backed logger and logs an info message.

import io.chrisdavenport.log4cats.Logger import io.chrisdavenport.log4cats.slf4j.Slf4jLogger object LogExample extends App { val logger: Logger[IO] = Slf4jLogger.getLogger[IO] logger.info("Hello, log4cats!").unsafeRunSync() }
Debug
Known issues
gotchaScala 2.12 version; use appropriate Scala version suffix.
fix
Ensure your project uses Scala 2.12 and the correct artifact (e.g., log4cats-core_2.12).
affects: all
Upgrade
Version history
1.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
log4cats-core-2-12 — mvn dependency:get log4cats-core-2-12 · libregistry