logger

package
v0.84.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(writer io.Writer) *Logger

func (*Logger) ActionWithSpinner

func (l *Logger) ActionWithSpinner(msg string, args ...interface{})

func (*Logger) ActionWithoutSpinner

func (l *Logger) ActionWithoutSpinner(msg string, args ...interface{})

func (*Logger) ChildActionWithSpinner

func (l *Logger) ChildActionWithSpinner(msg string, args ...interface{})

func (*Logger) ChildActionWithoutSpinner

func (l *Logger) ChildActionWithoutSpinner(msg string, args ...interface{})

func (*Logger) Debug

func (l *Logger) Debug(msg string, args ...interface{})

func (*Logger) Error

func (l *Logger) Error(err error)

func (*Logger) Finish

func (l *Logger) Finish()

func (*Logger) FinishChildSpinner

func (l *Logger) FinishChildSpinner()

func (*Logger) FinishSpinner

func (l *Logger) FinishSpinner()

func (*Logger) FinishSpinnerWithError

func (l *Logger) FinishSpinnerWithError()

func (*Logger) Info

func (l *Logger) Info(msg string, args ...interface{})

func (*Logger) Initialize

func (l *Logger) Initialize()

func (*Logger) Silence

func (l *Logger) Silence()

func (*Logger) Verbose

func (l *Logger) Verbose()

func (*Logger) WithSpinner

func (l *Logger) WithSpinner(msg string, f func() error, args ...interface{}) error

Jump to

Keyboard shortcuts

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