Documentation
¶
Overview ¶
Package log implements logger
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(msg string, others ...interface{}) Info(msg string, others ...interface{}) Error(msg string, others ...interface{}) Debugf(msg string, others ...interface{}) Infof(msg string, others ...interface{}) Errorf(msg string, others ...interface{}) Warning(msg string, others ...interface{}) Warningf(msg string, others ...interface{}) With(kv ...interface{}) Logger }
Logger interface used in the sdk.
var DefaultLogger Logger
DefaultLogger is a default setup logger.
func NewDefaultProductionLogger ¶
NewDefaultProductionLogger returns zap logger with default production setting.
func NewSilentLogger ¶
Click to show internal directories.
Click to hide internal directories.