output

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	log.Logger
}

func NewLogger

func NewLogger() *Logger

type Options

type Options struct {
	Logger    *Logger
	Verbosity Verbosity
}

type ProgressOptions

type ProgressOptions struct {
	// contains filtered or unexported fields
}

func NewProgressOptions

func NewProgressOptions(total int, message ...string) *ProgressOptions

func (*ProgressOptions) Progress

func (b *ProgressOptions) Progress(n int)

type Verbosity

type Verbosity uint32
const (
	PanicLevel Verbosity = iota
	FatalLevel
	ErrorLevel
	WarnLevel
	InfoLevel
	DebugLevel
	TraceLevel
)

Jump to

Keyboard shortcuts

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