testutil

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestLogger

type TestLogger struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewTestLogger

func NewTestLogger() *TestLogger

func (*TestLogger) Debugf

func (t *TestLogger) Debugf(format string, args ...interface{})

func (*TestLogger) Errorf

func (t *TestLogger) Errorf(format string, args ...interface{})

func (*TestLogger) Infof

func (t *TestLogger) Infof(format string, args ...interface{})

func (*TestLogger) Lines

func (t *TestLogger) Lines() []string

Lines returns a copy of the logged lines

Jump to

Keyboard shortcuts

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