trace

package
v0.0.0-...-da9ee33 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: GPL-3.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 Tracer

type Tracer interface {
	Trace(...interface{})
}

Tracer is the interface that describes an object capable of tracing events throughout code.

func New

func New(w io.Writer) Tracer

New creates a new Tracer that will write the output to the specified io.Writer.

func Off

func Off() Tracer

Off creates a Tracer that will ignore calls to Trace.

Jump to

Keyboard shortcuts

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