Documentation
¶
Overview ¶
Copyright © 2015-2018 Anker Innovations Technology Limited All Rights Reserved.
Index ¶
- func Debug(v ...interface{})
- func Debugw(format string, v ...interface{})
- func Error(v ...interface{})
- func Errorw(format string, v ...interface{})
- func Info(v ...interface{})
- func Infow(format string, v ...interface{})
- func ReplaceZapGlobals(cfgs ...zaplog.LogConfig)
- func Sync()
- func Warn(v ...interface{})
- func Warnw(format string, v ...interface{})
- type Glogger
- func (mlog *Glogger) Debug(v ...interface{})
- func (mlog *Glogger) Debugw(format string, v ...interface{})
- func (mlog *Glogger) EnableDailyFile()
- func (mlog *Glogger) Error(v ...interface{})
- func (mlog *Glogger) Errorw(format string, v ...interface{})
- func (mlog *Glogger) GetUnderlyingLogger() *zap.Logger
- func (mlog *Glogger) Info(v ...interface{})
- func (mlog *Glogger) Infow(format string, v ...interface{})
- func (mlog *Glogger) Json(v ...interface{})
- func (mlog *Glogger) Logger() *zap.Logger
- func (mlog *Glogger) Print(v ...interface{})
- func (mlog *Glogger) Printf(format string, v ...interface{})
- func (mlog *Glogger) Warn(v ...interface{})
- func (mlog *Glogger) Warnw(format string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReplaceZapGlobals ¶
Types ¶
type Glogger ¶
type Glogger struct {
// contains filtered or unexported fields
}
go使用zap + lumberjack重构项目的日志系统 https://blog.csdn.net/weixin_52000204/article/details/126651319
func (*Glogger) EnableDailyFile ¶
func (mlog *Glogger) EnableDailyFile()
func (*Glogger) GetUnderlyingLogger ¶
Click to show internal directories.
Click to hide internal directories.