logtest

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 92

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithT deprecated

func WithT(ctx context.Context, t testing.TB) context.Context

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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