Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogger = func() *zerolog.Logger { l := zerolog.New(zerolog.ConsoleWriter{Out: os.Stdout}).With().Caller().Timestamp().Logger() return &l }()
DefaultLogger just for dev env, low performance but human-friendly
Functions ¶
func FileLogger ¶ added in v0.3.3
FileLogger for product, height performance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.