Versions in this module Expand all Collapse all v7 v7.0.1 Mar 28, 2021 v7.0.0 Aug 30, 2020 Changes in this version + const StackKey + const TagKey + const TraceIDKey + const UserIDKey + const VersionKey + var Debugf = logrus.Debugf + var Errorf = logrus.Errorf + var Fatalf = logrus.Fatalf + var Infof = logrus.Infof + var Panicf = logrus.Panicf + var Printf = logrus.Printf + var Tracef = logrus.Tracef + var Warnf = logrus.Warnf + func AddHook(hook Hook) + func FromStackContext(ctx context.Context) error + func FromTagContext(ctx context.Context) string + func FromTraceIDContext(ctx context.Context) string + func FromUserIDContext(ctx context.Context) string + func NewStackContext(ctx context.Context, stack error) context.Context + func NewTagContext(ctx context.Context, tag string) context.Context + func NewTraceIDContext(ctx context.Context, traceID string) context.Context + func NewUserIDContext(ctx context.Context, userID string) context.Context + func SetFormatter(format string) + func SetLevel(level int) + func SetOutput(out io.Writer) + func SetVersion(v string) + type Entry = logrus.Entry + func WithContext(ctx context.Context) *Entry + type Hook = logrus.Hook + type Logger = logrus.Logger + func StandardLogger() *Logger Other modules containing this package github.com/LyricTian/gin-admin/v6 github.com/LyricTian/gin-admin/v8