tracer

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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