Versions in this module Expand all Collapse all v0 v0.1.0 Oct 3, 2022 Changes in this version + const StackKey + const TagKey + const TraceIDKey + const UserIDKey + const UserNameKey + var Debug = logrus.Debug + var Debugf = logrus.Debugf + var Error = logrus.Error + var Errorf = logrus.Errorf + var Fatal = logrus.Fatal + var Fatalf = logrus.Fatalf + var Info = logrus.Info + var Infof = logrus.Infof + var Panic = logrus.Panic + var Panicf = logrus.Panicf + var ParseLevel = logrus.ParseLevel + var Printf = logrus.Printf + var SetOutput = logrus.SetOutput + var SetReportCaller = logrus.SetReportCaller + var StandardLogger = logrus.StandardLogger + var Trace = logrus.Trace + var Tracef = logrus.Tracef + var Warn = logrus.Warn + 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) uint64 + func FromUserNameContext(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 uint64) context.Context + func NewUserNameContext(ctx context.Context, userName string) context.Context + func SetFormatter(format string) + func SetLevel(level Level) + type Entry = logrus.Entry + func WithContext(ctx context.Context) *Entry + type Hook = logrus.Hook + type Level = logrus.Level + const DebugLevel + const ErrorLevel + const FatalLevel + const InfoLevel + const PanicLevel + const TraceLevel + const WarnLevel + type Logger = logrus.Logger