iolog4s / iolog4s

Pure logging library for cats-effect

Website GitHub


Maven Central Sonatype Scala Scala

See entire docs at microsite.


iolog4s is a logging library for scala that suspends all your logging side-effects into your chosen cats.effect.Sync instance, e.g.:

iolog4s has the same interface as log4s, except all return types are of type F[Unit] where F[_]: Sync.

super-quick start

Avaialble for scala versions 2.11, and 2.12.

"org.iolog4s" %% "iolog4s" % "0.0.4"

You also need to depend on explicitly on a backend for logging, e.g.:

"ch.qos.logback" % "logback-classic" % "1.2.3"