Documentation ¶
Index ¶
- type Logger
- type SlackLogger
- func (l *SlackLogger) ActionWithSpinner(msg string, args ...interface{})
- func (l *SlackLogger) ActionWithoutSpinner(msg string, args ...interface{})
- func (l *SlackLogger) ChildActionWithSpinner(msg string, args ...interface{})
- func (l *SlackLogger) ChildActionWithoutSpinner(msg string, args ...interface{})
- func (l *SlackLogger) Debug(msg string, args ...interface{})
- func (l *SlackLogger) Error(err error)
- func (l *SlackLogger) Finish()
- func (l *SlackLogger) FinishChildSpinner()
- func (l *SlackLogger) FinishSpinner()
- func (l *SlackLogger) FinishSpinnerWithError()
- func (l *SlackLogger) Info(msg string, args ...interface{})
- func (l *SlackLogger) Initialize()
- func (l *SlackLogger) Silence()
- func (l *SlackLogger) Verbose()
- type TerminalLogger
- func (l *TerminalLogger) ActionWithSpinner(msg string, args ...interface{})
- func (l *TerminalLogger) ActionWithoutSpinner(msg string, args ...interface{})
- func (l *TerminalLogger) ChildActionWithSpinner(msg string, args ...interface{})
- func (l *TerminalLogger) ChildActionWithoutSpinner(msg string, args ...interface{})
- func (l *TerminalLogger) Debug(msg string, args ...interface{})
- func (l *TerminalLogger) Error(err error)
- func (l *TerminalLogger) Finish()
- func (l *TerminalLogger) FinishChildSpinner()
- func (l *TerminalLogger) FinishSpinner()
- func (l *TerminalLogger) FinishSpinnerWithError()
- func (l *TerminalLogger) Info(msg string, args ...interface{})
- func (l *TerminalLogger) Initialize()
- func (l *TerminalLogger) Silence()
- func (l *TerminalLogger) Verbose()
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()
Click to show internal directories.
Click to hide internal directories.