Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GlobalLogger *zap.Logger Level zap.AtomicLevel = zap.NewAtomicLevel() )
global sys var
View Source
var ( Info func(msg string, fields ...zap.Field) Debug func(msg string, fields ...zap.Field) Error func(msg string, fields ...zap.Field) Warn func(msg string, fields ...zap.Field) Fatal func(msg string, fields ...zap.Field) // work like stand pkg sys.Printf Infof func(template string, args ...interface{}) Warnf func(template string, args ...interface{}) Debugf func(template string, args ...interface{}) Errorf func(template string, args ...interface{}) Fataf func(template string, args ...interface{}) )
View Source
var ( // after the app close, we should sync the message to io.Writer Sync func() error )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.