Versions in this module Expand all Collapse all v1 v1.5.0 Oct 27, 2026 v1.4.6 Oct 27, 2026 Changes in this version + const EnvVar + const HeaderName + const MetaKey + func ClearSession(sessionID string) + func FromContext(ctx context.Context) (int, bool) + func FromEnv() int + func FromMeta(meta map[string]any) (int, bool) + func Meta(level int) map[string]any + func Parse(raw string) (int, bool) + func Resolve(ctx context.Context, sessionID string) int + func Session(sessionID string) (int, bool) + func SetSession(sessionID string, level int) + func WithContext(ctx context.Context, level int) context.Context