testing

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 8

Documentation

Overview

Package testing provides support for using logr in tests. Deprecated. See github.com/go-logr/logr/testr instead.

Index

Constants

This section is empty.

Variables

View Source
var NewTestLogger = testr.New

NewTestLogger returns a logr.Logger that prints through a testing.T object. Deprecated. See github.com/go-logr/logr/testr.New instead.

View Source
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.

Functions

This section is empty.

Types

type Options added in v1.1.0

type Options = testr.Options

Options carries parameters which influence the way logs are generated. Deprecated. See github.com/go-logr/logr/testr.Options instead.

type Underlier added in v1.1.0

type Underlier = testr.Underlier

Underlier exposes access to the underlying testing.T instance. Deprecated. See github.com/go-logr/logr/testr.Underlier instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL