Registry / logging / log4cats-slf4j-3

log4cats-slf4j-3

JSON →
library2.8.0javamavenunverified

SLF4J binding for log4cats, a functional logging library for Scala 3, providing type-safe logging.

<dependency> <groupId>org.typelevel</groupId> <artifactId>log4cats-slf4j_3</artifactId> <version>2.8.0</version> </dependency>
INSTALL
IMPORT
SIG · LOG4CATS-SLF4J-3
L
log4cats-slf4j-3
loggingjavav2.8.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.

Slf4jLogger
✓ org.typelevel.log4cats.slf4j.Slf4jLogger

Creates a Slf4jLogger instance and logs an informational message.

import org.typelevel.log4cats.slf4j.Slf4jLogger; import cats.effect.IO; public class Example { public static void main(String[] args) { Slf4jLogger<IO> logger = Slf4jLogger.getLogger[IO]; logger.info("Hello, world!"); } }
Debug
Known issues
breakingRequires Scala 3 and Cats Effect; not compatible with Java-only projects.
fix
Use a Java logging library like SLF4J directly if not using Scala.
affects: all
Upgrade
Version history
2.8.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
log4cats-slf4j-3 — mvn dependency:get log4cats-slf4j-3 · libregistry