Skip to content
Matt Hicks edited this page Jun 2, 2024 · 3 revisions

Frequently Asked Questions and Quick Tips:

  • How do I install Scribe to replace System.out and System.err?

    scribe.Logger.system.redirect()
  • How do I install Scribe as a java.util.logging (JUL) implementation?

    scribe.Logger.system.installJUL()
  • How do I use the Scribe with Cats Effect? First, you must ensure you've added the dependency scribe-cats.

    Second, a simple import can give you access:

    import scribe.cats.{io => logger}

    Finally, to use the logging:

    logger.info("Hello, Effects!")  // Returns IO[Unit]

    For more information, see the Cats Effect Wiki Page

Clone this wiki locally