debugtracer

package
v0.0.0-...-d7f584e Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugTracer

type DebugTracer interface {
	Log(msg string, args ...interface{})
	SaveFile(filename string, data []byte)
}

type GenericTracer

type GenericTracer struct {
	WithTime    bool
	TraceWriter io.Writer
	OutDir      string
}

func (*GenericTracer) Log

func (gt *GenericTracer) Log(msg string, args ...interface{})

func (*GenericTracer) SaveFile

func (gt *GenericTracer) SaveFile(filename string, data []byte)

type NullTracer

type NullTracer struct {
}

func (*NullTracer) Log

func (nt *NullTracer) Log(msg string, args ...interface{})

func (*NullTracer) SaveFile

func (nt *NullTracer) SaveFile(filename string, data []byte)

type TestTracer

type TestTracer struct {
	T *testing.T
}

func (*TestTracer) Log

func (tt *TestTracer) Log(msg string, args ...interface{})

func (*TestTracer) SaveFile

func (tt *TestTracer) SaveFile(filename string, data []byte)

Jump to

Keyboard shortcuts

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