zio-logging icon indicating copy to clipboard operation
zio-logging copied to clipboard

Documentation

Open pshemass opened this issue 4 years ago • 3 comments

We need better documentation :)

pshemass avatar Oct 29 '21 02:10 pshemass

We need a whole microsite, as well as documentation!

jdegoes avatar Jan 17 '22 15:01 jdegoes

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)

francisdb avatar Mar 13 '22 16:03 francisdb

i am working on documentation and some examples

justcoon avatar Jul 15 '22 18:07 justcoon

i will continue to work on documentations improvements during ZIO Hackathon 2022 - New York City

justcoon avatar Oct 27 '22 12:10 justcoon