logger

package
v1.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

Logger provides logging facility using testing.T.

func New

func New(t testingLogger) *Logger

func (*Logger) AddFlags

func (l *Logger) AddFlags(f *pflag.FlagSet)

func (*Logger) IsEnabled

func (l *Logger) IsEnabled(level int) bool

func (*Logger) Printf

func (l *Logger) Printf(format string, args ...interface{})

func (*Logger) V

func (l *Logger) V(level int) logger.Verbose

Jump to

Keyboard shortcuts

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