-
Notifications
You must be signed in to change notification settings - Fork 42
FAQ
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
andSystem.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