zio-logging
zio-logging copied to clipboard
Documentation
We need better documentation :)
We need a whole microsite, as well as documentation!
Just some example code in the readme on how to use this in ZIO2 would already help a lot.
If found https://ziverge.com/blog/a-preview-of-logging-in-zio-2/ but does not say how to configure the logging, levels, format...
edit: after a github search I found this:
in your ZIOAppDefault
override def hook: RuntimeConfigAspect = zio.logging.console(
logLevel = LogLevel.Info,
format = LogFormat.colored
)
or
import zio.logging.backend.SLF4J
override def hook: RuntimeConfigAspect = SLF4J.slf4j(zio.LogLevel.Debug)
i am working on documentation and some examples
i will continue to work on documentations improvements during ZIO Hackathon 2022 - New York City