logger

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: Apache-2.0 Imports: 10 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 interface {
	Silence()
	Verbose()
	Initialize()
	Finish()
	Debug(msg string, args ...interface{})
	Info(msg string, args ...interface{})
	ActionWithoutSpinner(msg string, args ...interface{})
	ChildActionWithoutSpinner(msg string, args ...interface{})
	ActionWithSpinner(msg string, args ...interface{})
	ChildActionWithSpinner(msg string, args ...interface{})
	FinishChildSpinner()
	FinishSpinner()
	FinishSpinnerWithError()
	Error(err error)
}

func NewLogger

func NewLogger(loggerSpec types.LoggerSpec) Logger

func NewSlackLogger

func NewSlackLogger(loggerSpec *types.SlackLoggerSpec) Logger

func NewTerminalLogger

func NewTerminalLogger() Logger

type SlackLogger

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

func (*SlackLogger) ActionWithSpinner

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

func (*SlackLogger) ActionWithoutSpinner

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

func (*SlackLogger) ChildActionWithSpinner

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

func (*SlackLogger) ChildActionWithoutSpinner

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

func (*SlackLogger) Debug

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

func (*SlackLogger) Error

func (l *SlackLogger) Error(err error)

func (*SlackLogger) Finish

func (l *SlackLogger) Finish()

func (*SlackLogger) FinishChildSpinner

func (l *SlackLogger) FinishChildSpinner()

func (*SlackLogger) FinishSpinner

func (l *SlackLogger) FinishSpinner()

func (*SlackLogger) FinishSpinnerWithError

func (l *SlackLogger) FinishSpinnerWithError()

func (*SlackLogger) Info

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

func (*SlackLogger) Initialize

func (l *SlackLogger) Initialize()

func (*SlackLogger) Silence

func (l *SlackLogger) Silence()

func (*SlackLogger) Verbose

func (l *SlackLogger) Verbose()

type TerminalLogger

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

func (*TerminalLogger) ActionWithSpinner

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

func (*TerminalLogger) ActionWithoutSpinner

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

func (*TerminalLogger) ChildActionWithSpinner

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

func (*TerminalLogger) ChildActionWithoutSpinner

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

func (*TerminalLogger) Debug

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

func (*TerminalLogger) Error

func (l *TerminalLogger) Error(err error)

func (*TerminalLogger) Finish

func (l *TerminalLogger) Finish()

func (*TerminalLogger) FinishChildSpinner

func (l *TerminalLogger) FinishChildSpinner()

func (*TerminalLogger) FinishSpinner

func (l *TerminalLogger) FinishSpinner()

func (*TerminalLogger) FinishSpinnerWithError

func (l *TerminalLogger) FinishSpinnerWithError()

func (*TerminalLogger) Info

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

func (*TerminalLogger) Initialize

func (l *TerminalLogger) Initialize()

func (*TerminalLogger) Silence

func (l *TerminalLogger) Silence()

func (*TerminalLogger) Verbose

func (l *TerminalLogger) Verbose()

Jump to

Keyboard shortcuts

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