Versions in this module Expand all Collapse all v0 v0.7.0 Mar 25, 2026 Changes in this version + var Logger zerolog.Logger + func Debug(msg string) + func Debugf(format string, v ...interface{}) + func Error(err error) + func Errorf(format string, v ...interface{}) + func Event(eventType, path string) + func Fatal(err error) + func Fatalf(format string, v ...interface{}) + func Info(msg string) + func Infof(format string, v ...interface{}) + func Init(opts ...Option) + func Warn(msg string) + func Warnf(format string, v ...interface{}) + type Option func(*Options) + func WithColors(colors bool) Option + func WithLevel(level zerolog.Level) Option + func WithOutput(output io.Writer) Option + func WithPretty(pretty bool) Option + func WithTimeField(field string) Option + type Options struct + Colors bool + Level zerolog.Level + Output io.Writer + Pretty bool + TimeField string