Documentation ¶
Index ¶
- func Debugf(t string, args ...interface{})
- func Debugw(msg string, args ...interface{})
- func Errorf(t string, args ...interface{})
- func Errorw(msg string, args ...interface{})
- func GetLogID(ip string) string
- func Infof(t string, args ...interface{})
- func Infow(msg string, args ...interface{})
- func InitZapSugared(global bool, production bool, skip int) *zap.SugaredLogger
- func Warnf(t string, args ...interface{})
- func Warnw(msg string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitZapSugared ¶
func InitZapSugared(global bool, production bool, skip int) *zap.SugaredLogger
Types ¶
type Logger ¶
type Logger interface { Infof(string, ...interface{}) Warnf(string, ...interface{}) Errorf(string, ...interface{}) Debugf(string, ...interface{}) Infow(string, ...interface{}) Warnw(string, ...interface{}) Errorw(string, ...interface{}) Debugw(string, ...interface{}) }
var GlobalLogger Logger
Click to show internal directories.
Click to hide internal directories.