Documentation
¶
Index ¶
- Constants
- func Context(ctx context.Context, h slog.Handler) context.Context
- func Debug(ctx context.Context, msg string, args ...any)
- func Error(ctx context.Context, msg string, args ...any)
- func Handler(ctx context.Context) slog.Handler
- func Info(ctx context.Context, msg string, args ...any)
- func Log(ctx context.Context, level slog.Level, msg string, args ...any)
- func LogAttrs(ctx context.Context, level slog.Level, msg string, attrs ...slog.Attr)
- func Warn(ctx context.Context, msg string, args ...any)
- func With(ctx context.Context, args ...any) context.Context
- func WithAttrs(ctx context.Context, attrs ...slog.Attr) context.Context
- func WithGroup(ctx context.Context, groupName string) context.Context
Constants ¶
View Source
const ErrorKey = "err"
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.