trace

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2016 License: MIT Imports: 2 Imported by: 29

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