Documentation ¶
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func Debugf(template string, args ...interface{})
- func Error(err error)
- func Errorf(template string, args ...interface{})
- func Info(msg string, fields ...zap.Field)
- func Infof(template string, args ...interface{})
- func SetDebug()
- func Warnf(template string, args ...interface{})
- type CLILogger
- func (l *CLILogger) ActionWithSpinner(msg string, args ...interface{})
- func (l *CLILogger) ActionWithoutSpinner(msg string, args ...interface{})
- func (l *CLILogger) ActionWithoutSpinnerWarning(msg string, c *color.Color, args ...interface{})
- func (l *CLILogger) ChildActionWithSpinner(msg string, args ...interface{})
- func (l *CLILogger) ChildActionWithoutSpinner(msg string, args ...interface{})
- func (l *CLILogger) Debug(msg string, args ...interface{})
- func (l *CLILogger) Error(err error)
- func (l *CLILogger) Errorf(msg string, args ...interface{})
- func (l *CLILogger) Finish()
- func (l *CLILogger) FinishChildSpinner()
- func (l *CLILogger) FinishSpinner()
- func (l *CLILogger) FinishSpinnerWithError()
- func (l *CLILogger) FinishSpinnerWithWarning(c *color.Color)
- func (l *CLILogger) Info(msg string, args ...interface{})
- func (l *CLILogger) Initialize()
- func (l *CLILogger) Silence()
- func (l *CLILogger) Verbose()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CLILogger ¶
type CLILogger struct {
// contains filtered or unexported fields
}
func NewCLILogger ¶
func NewCLILogger() *CLILogger
func (*CLILogger) ActionWithSpinner ¶
func (*CLILogger) ActionWithoutSpinner ¶
func (*CLILogger) ActionWithoutSpinnerWarning ¶
func (*CLILogger) ChildActionWithSpinner ¶
func (*CLILogger) ChildActionWithoutSpinner ¶
func (*CLILogger) FinishChildSpinner ¶
func (l *CLILogger) FinishChildSpinner()
func (*CLILogger) FinishSpinner ¶
func (l *CLILogger) FinishSpinner()
func (*CLILogger) FinishSpinnerWithError ¶
func (l *CLILogger) FinishSpinnerWithError()
func (*CLILogger) FinishSpinnerWithWarning ¶
FinishSpinnerWithWarning if no color is provided, color.FgYellow will be used
func (*CLILogger) Initialize ¶
func (l *CLILogger) Initialize()
Click to show internal directories.
Click to hide internal directories.