Documentation ¶
Index ¶
- func DPanic(args ...interface{})
- func DPanicf(template string, args ...interface{})
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Exit()
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func Init(cfg *Config) *logcore.AppLogger
- func MustGetLogger(names ...string) *logcore.AppLogger
- func Panic(args ...interface{})
- func Panicf(template string, args ...interface{})
- func Printf(template string, args ...interface{})
- func Println(args ...interface{})
- func SetDefaultFilePath(path string)
- func SetLogger(logger *logcore.AppLogger) error
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- func ZapLog(logger *zap.Logger, level string, msg string)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustGetLogger ¶
func SetDefaultFilePath ¶
func SetDefaultFilePath(path string)
var atomConsole = zap.NewAtomicLevel() var atomFile = zap.NewAtomicLevel()
Types ¶
Click to show internal directories.
Click to hide internal directories.