Documentation ¶
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func GetKitLogger() log.Logger
- func GetLogger() *zap.Logger
- func Info(msg string, fields ...zap.Field)
- func InitLog(logFile, level string)
- func SetLogLevel(level string)
- func Warn(msg string, fields ...zap.Field)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKitLogger ¶
GetKitLogger returns a Go kit log.Logger that sends log events to a zap.Logger.
Types ¶
Click to show internal directories.
Click to hide internal directories.