Documentation ¶
Overview ¶
Package logutil implements various log utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogLevel = "info"
DefaultLogLevel is the default log level.
Functions ¶
func ConvertToZapLevel ¶
ConvertToZapLevel converts log level string to zapcore.Level.
func GetDefaultZapLogger ¶
GetDefaultZapLogger returns a new default logger.
func GetDefaultZapLoggerConfig ¶
GetDefaultZapLoggerConfig returns a new default zap logger configuration.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.