Documentation ¶
Overview ¶
Package private 默认的内置日志
由Fushin初始化 如需要引入项目全局使用请对log配置进行覆写
logger := private.NewLogger() private.Override(prefix string, flags int) logger.Info()
Package private
Index ¶
- Variables
- func Override(prefix string, flags int)
- type DevLog
- func (d *DevLog) Error(v ...interface{})
- func (d *DevLog) ErrorF(fmtStr string, v ...interface{})
- func (d *DevLog) Fatal(v ...interface{})
- func (d *DevLog) FatalF(fmtStr string, v ...interface{})
- func (d *DevLog) Info(v ...interface{})
- func (d *DevLog) InfoF(fmtStr string, v ...interface{})
- func (d *DevLog) Print(v ...interface{})
- func (d *DevLog) PrintF(fmtStr string, v ...interface{})
- func (d *DevLog) SetOutput(w io.Writer)
- func (d *DevLog) Warn(v ...interface{})
- func (d *DevLog) WarnF(fmtStr string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var Log ilog
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.