Documentation
¶
Index ¶
- Constants
- Variables
- func Debug(msg string, fields ...zapcore.Field)
- func Error(msg string, fields ...zapcore.Field)
- func Fatal(msg string, fields ...zapcore.Field)
- func GetDefaultLogger() *zap.Logger
- func Info(msg string, fields ...zapcore.Field)
- func InitLogger(logPath string, level string)
- func Warn(msg string, fields ...zapcore.Field)
Constants ¶
View Source
const PromLabelLevel = "level" //http method
Variables ¶
View Source
var (
DefaultLogger *zap.Logger
)
Functions ¶
func GetDefaultLogger ¶
func InitLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.