Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 27 Jul 07:59
· 3 commits to main since this release

What's Changed

  • update skunk to 1.0.0-M11 by @rolang in #156
  • add a logger interface by @rolang in #138
    A dumbo.logging.Logger instance is required for logging.
    To use a logger based on cats.effect.std.Console that is required by skunk add the import:
import dumbo.logging.Implicits.console

Or provide a custom logger like:

given dumbo.logging.Logger[F] =
  case (dumbo.logging.LogLevel.Info, message) => ???
  case (dumbo.logging.LogLevel.Warn, message) => ???

For an example based on log4cats with Slf4J see ExampleLog4Cats.scala.

Dependency updates

Full Changelog: v0.5.5...v0.6.0