chore(no-release): refactor to slog.DiscardHandler
Refactor tests and comments to use slog.DiscardHandler and enable the sloglint linter, which detects such cases.
The slog.DiscardHandler is available starting from Go 1.24.
Refactor tests and comments to use slog.DiscardHandler and enable the sloglint linter, which detects such cases.
The slog.DiscardHandler is available starting from Go 1.24.