-
-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
https://github.com/samber/slog-multi?tab=readme-ov-file#routing-slogmultirouter
Unfortunately, this function does not currently exist “yet?”
I think the implementation would also be quite simple here:
func Level(level slog.Level) func(ctx context.Context, r slog.Record) bool {
return func(ctx context.Context, r slog.Record) bool {
return r.Level == level
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels