Documentation ¶ Index ¶ func New() *console type Tracer func Default() Tracer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New() *console New returns a tracer that outputs progress to the terminal. Types ¶ type Tracer ¶ type Tracer interface { // Start the named tracer. Start(format string, args ...interface{}) // Stop the named tracer. Stop(format string, args ...interface{}) // Log a message. Log(format string, args ...interface{}) // Close the tracer. Close() } Tracer defines tracing methods. func Default ¶ func Default() Tracer Default returns the default tracer (noop) Source Files ¶ View all Source files console.go tracer.go Click to show internal directories. Click to hide internal directories.