deprecate logs package, but disable linter (for transitioning)
Deprecate the pacakge, but suppress linting errors for now. This is to allow backporting these changes to release branches, which may still need to transition. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -26,6 +26,8 @@ import (
|
||||
// WithT adds a logging hook for the given test
|
||||
// Changes debug level to debug, clears output, and
|
||||
// outputs all log messages as test logs.
|
||||
//
|
||||
// Deprecated: use [logtest.WithT].
|
||||
func WithT(ctx context.Context, t testing.TB) context.Context {
|
||||
return logtest.WithT(ctx, t)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user