mock_logger

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 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 Logger

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

func New

func New(t testingLogf) *Logger

func (*Logger) AddFlags

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

func (*Logger) Printf

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

func (*Logger) V

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

type Verbose

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

func (*Verbose) Infof

func (v *Verbose) Infof(format string, args ...interface{})

Jump to

Keyboard shortcuts

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