Documentation
¶
Index ¶
- func SetTraceID(ctx context.Context, traceID any) context.Context
- type Config
- type Logger
- func (l *Logger) Debug(args ...any)
- func (l *Logger) Debugf(template string, args ...any)
- func (l *Logger) Error(args ...any)
- func (l *Logger) Errorf(template string, args ...any)
- func (l *Logger) Fatal(args ...any)
- func (l *Logger) Fatalf(template string, args ...any)
- func (l *Logger) Info(args ...any)
- func (l *Logger) Infof(template string, args ...any)
- func (l *Logger) Panic(args ...any)
- func (l *Logger) Panicf(template string, args ...any)
- func (l *Logger) Warn(args ...any)
- func (l *Logger) Warnf(template string, args ...any)
- func (l *Logger) WithCtx(ctx context.Context) *Logger
- type TraceIDKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TraceIDKey ¶ added in v0.7.0
type TraceIDKey struct{}
Click to show internal directories.
Click to hide internal directories.