diagtest

package
v3.90.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package diagtest provides testing utilities for code that uses the common/diag package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogSink

func LogSink(t testing.TB) diag.Sink

LogSink builds a diagnostic sink that logs to the given testing.TB.

Messages are prefixed with [stdout] or [stderr] to indicate which stream they were written to.

Types

This section is empty.

Jump to

Keyboard shortcuts

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