Versions in this module Expand all Collapse all v2 v2.51.0 Nov 22, 2023 Changes in this version + func Debug(v ...interface{}) + func Debugf(format string, v ...interface{}) + func Debugw(msg string, keysAndValues ...interface{}) + func Error(v ...interface{}) + func Errorf(format string, v ...interface{}) + func Errorw(msg string, keysAndValues ...interface{}) + func Fatal(v ...interface{}) + func Fatalf(format string, v ...interface{}) + func Fatalw(msg string, keysAndValues ...interface{}) + func Info(v ...interface{}) + func Infof(format string, v ...interface{}) + func Infow(msg string, keysAndValues ...interface{}) + func Panic(v ...interface{}) + func Panicf(format string, v ...interface{}) + func Panicw(msg string, keysAndValues ...interface{}) + func SetLevel(lv Level) + func SetLogger(v AllLogger) + func SetOutput(w io.Writer) + func Trace(v ...interface{}) + func Tracef(format string, v ...interface{}) + func Tracew(msg string, keysAndValues ...interface{}) + func Warn(v ...interface{}) + func Warnf(format string, v ...interface{}) + func Warnw(msg string, keysAndValues ...interface{}) + type AllLogger interface + WithContext func(ctx context.Context) CommonLogger + func DefaultLogger() AllLogger + type CommonLogger interface + func WithContext(ctx context.Context) CommonLogger + type ControlLogger interface + SetLevel func(Level) + SetOutput func(io.Writer) + type FormatLogger interface + Debugf func(format string, v ...interface{}) + Errorf func(format string, v ...interface{}) + Fatalf func(format string, v ...interface{}) + Infof func(format string, v ...interface{}) + Panicf func(format string, v ...interface{}) + Tracef func(format string, v ...interface{}) + Warnf func(format string, v ...interface{}) + type Level int + const LevelDebug + const LevelError + const LevelFatal + const LevelInfo + const LevelPanic + const LevelTrace + const LevelWarn + type Logger interface + Debug func(v ...interface{}) + Error func(v ...interface{}) + Fatal func(v ...interface{}) + Info func(v ...interface{}) + Panic func(v ...interface{}) + Trace func(v ...interface{}) + Warn func(v ...interface{}) + type WithLogger interface + Debugw func(msg string, keysAndValues ...interface{}) + Errorw func(msg string, keysAndValues ...interface{}) + Fatalw func(msg string, keysAndValues ...interface{}) + Infow func(msg string, keysAndValues ...interface{}) + Panicw func(msg string, keysAndValues ...interface{}) + Tracew func(msg string, keysAndValues ...interface{}) + Warnw func(msg string, keysAndValues ...interface{})