package
0.0.0-20231119155546-d99e7a5e9208
Repository: https://github.com/revett/common.git
Documentation: pkg.go.dev
# Functions
New creates a new zerolog console logger, by default it uses RFC3339 as the time format.
WithNoColor is a functional option for the New function that disables colorized output for the logger.
WithPrefix is a functional option for the New function that allows a prefix to be added to the logger.
WithTimeFormat is a functional option for the New function that allows a custom time format to be set for the logger.
# Type aliases
NewFuncOption is a functional option for the New function.