Documentation
¶
Index ¶
- Constants
- Variables
- func Debug(str string, args ...zap.Field)
- func Debugf(str string, args ...interface{})
- func Error(str string, args ...zap.Field)
- func Errorf(str string, args ...interface{})
- func Info(str string, args ...zap.Field)
- func Infof(str string, args ...interface{})
- func Init(zapCfg *ZapkitConfig, args ...string) error
- func Sync() error
- func ThirdInit(logPath, logLevel string) error
- func Warn(str string, args ...zap.Field)
- func Warnf(str string, args ...interface{})
- type Logkit
- type ZapkitConfig
Constants ¶
View Source
const ( LevelDebug = iota LevelInfo LevelWarn LevelError LevelNone )
Variables ¶
View Source
var LoggerLevel = map[string]int{ "debug": LevelDebug, "info": LevelInfo, "warn": LevelWarn, "error": LevelError, "none": LevelNone, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.