Documentation
¶
Overview ¶
Package log provide global singleton object access
Index ¶
- Variables
- func Debug(ctx context.Context, tpl string, args ...interface{})
- func Error(ctx context.Context, tpl string, args ...interface{})
- func FlushLogger()
- func Info(ctx context.Context, tpl string, args ...interface{})
- func SetLevel(mode ...string)
- func Warn(ctx context.Context, tpl string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Logger *zap.SugaredLogger
)
Functions ¶
func FlushLogger ¶
func FlushLogger()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.