Horizontal
Horizontal is a pretty logging with focus on readability, based on the zerolog.ConsoleWriter
but with some added features like json pretty printing and log line separator.
go get -u github.com/UnnoTed/horizontal
package main
import (
"os"
"github.com/UnnoTed/horizontal"
"github.com/rs/zerolog/log"
)
func main() {
log.Logger = log.Output(horizontal.ConsoleWriter{Out: os.Stderr})
log.Debug().Msg("hi")
log.Debug().Msg("hello")
}