package testing
import "github.com/go-logr/logr/testing"
Package testing provides support for using logr in tests. Deprecated. See github.com/go-logr/logr/testr instead.
Index ¶
Variables ¶
NewTestLogger returns a logr.Logger that prints through a testing.T object. Deprecated. See github.com/go-logr/logr/testr.New instead.
var NewTestLoggerWithOptions = testr.NewWithOptions
NewTestLoggerWithOptions returns a logr.Logger that prints through a testing.T object. Deprecated. See github.com/go-logr/logr/testr.NewWithOptions instead.
Types ¶
type Options ¶
Options carries parameters which influence the way logs are generated. Deprecated. See github.com/go-logr/logr/testr.Options instead.
type Underlier ¶
Underlier exposes access to the underlying testing.T instance. Deprecated. See github.com/go-logr/logr/testr.Underlier instead.
Source Files ¶
- Version
- v1.3.0
- Published
- Oct 23, 2023
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 3 minutes ago –
Tools for package owners.