Documentation ¶
Index ¶
Constants ¶
View Source
const ( DebugLevel = zap.DebugLevel InfoLevel = zap.InfoLevel WarnLevel = zap.WarnLevel ErrLevel = zap.ErrorLevel )
Variables ¶
View Source
var ( DefaultConfig = Parm{ // contains filtered or unexported fields } )
View Source
var ( // ErrConfigConvert 配置转换失败 ErrConfigConvert = errors.New("convert linker config") )
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger logger struct
func BuildWithDefaultOption ¶
func BuildWithDefaultOption() *Logger
func BuildWithOption ¶
Click to show internal directories.
Click to hide internal directories.