logger

package
v0.2.2-rc Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MPL-2.0 Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLILogger

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

func (CLILogger) Actionf

func (l CLILogger) Actionf(format string, a ...interface{})

func (CLILogger) Failuref

func (l CLILogger) Failuref(format string, a ...interface{})

func (CLILogger) Generatef

func (l CLILogger) Generatef(format string, a ...interface{})

func (CLILogger) Printf

func (l CLILogger) Printf(format string, a ...interface{})

func (CLILogger) Println

func (l CLILogger) Println(format string, a ...interface{})

func (CLILogger) Successf

func (l CLILogger) Successf(format string, a ...interface{})

func (CLILogger) Waitingf

func (l CLILogger) Waitingf(format string, a ...interface{})

func (CLILogger) Warningf

func (l CLILogger) Warningf(format string, a ...interface{})

type Logger

type Logger interface {
	Println(format string, a ...interface{})
	Printf(format string, a ...interface{})
	Actionf(format string, a ...interface{})
	Generatef(format string, a ...interface{})
	Waitingf(format string, a ...interface{})
	Successf(format string, a ...interface{})
	Warningf(format string, a ...interface{})
	Failuref(format string, a ...interface{})
}

func New

func New(writer io.Writer) Logger

Jump to

Keyboard shortcuts

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