Documentation
¶
Index ¶
- func Bold(s string) string
- func Cyan(s string) string
- func Debug(args ...interface{})
- func Debugf(format string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(format string, args ...interface{})
- func Gray(s string) string
- func Green(s string) string
- func Info(args ...interface{})
- func Infof(format string, args ...interface{})
- func Printf(format string, args ...interface{})
- func Println(args ...interface{})
- func Red(s string) string
- func SetColors(colors interface{})
- func SetLevel(level Level)
- func SetName(name string)
- func SetOutput(out io.Writer)
- func StartSpinner()
- func StopSpinner()
- func UnsetName(name string)
- func Warn(args ...interface{})
- func Warnf(format string, args ...interface{})
- func Yellow(s string) string
- type Level
- type Logger
- func (l *Logger) Debug(args ...interface{})
- func (l *Logger) Debugf(format string, args ...interface{})
- func (l *Logger) Error(args ...interface{})
- func (l *Logger) Errorf(format string, args ...interface{})
- func (l *Logger) Info(args ...interface{})
- func (l *Logger) Infof(format string, args ...interface{})
- func (l *Logger) IsLevelEnabled(level Level) bool
- func (l *Logger) Log(level Level, args ...interface{})
- func (l *Logger) Logf(level Level, format string, args ...interface{})
- func (l *Logger) Printf(format string, args ...interface{})
- func (l *Logger) Println(args ...interface{})
- func (l *Logger) SetLevel(level Level)
- func (l *Logger) SetName(name string)
- func (l *Logger) SetOutput(out io.Writer)
- func (l *Logger) UnsetName(name string)
- func (l *Logger) Warn(args ...interface{})
- func (l *Logger) Warnf(format string, args ...interface{})
- type SkipSettings
- func (s *SkipSettings) ApplySetting(setting string)
- func (s SkipSettings) SkipExecution() bool
- func (s SkipSettings) SkipExecutionInfo() bool
- func (s SkipSettings) SkipExecutionOutput() bool
- func (s SkipSettings) SkipFailure() bool
- func (s SkipSettings) SkipMeta() bool
- func (s SkipSettings) SkipSkips() bool
- func (s SkipSettings) SkipSuccess() bool
- func (s SkipSettings) SkipSummary() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartSpinner ¶
func StartSpinner()
func StopSpinner ¶
func StopSpinner()
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) IsLevelEnabled ¶
type SkipSettings ¶ added in v1.1.0
type SkipSettings int16
func (*SkipSettings) ApplySetting ¶ added in v1.1.0
func (s *SkipSettings) ApplySetting(setting string)
func (SkipSettings) SkipExecution ¶ added in v1.1.0
func (s SkipSettings) SkipExecution() bool
func (SkipSettings) SkipExecutionInfo ¶ added in v1.4.1
func (s SkipSettings) SkipExecutionInfo() bool
func (SkipSettings) SkipExecutionOutput ¶ added in v1.3.11
func (s SkipSettings) SkipExecutionOutput() bool
func (SkipSettings) SkipFailure ¶ added in v1.1.0
func (s SkipSettings) SkipFailure() bool
func (SkipSettings) SkipMeta ¶ added in v1.1.0
func (s SkipSettings) SkipMeta() bool
func (SkipSettings) SkipSkips ¶ added in v1.3.10
func (s SkipSettings) SkipSkips() bool
func (SkipSettings) SkipSuccess ¶ added in v1.1.0
func (s SkipSettings) SkipSuccess() bool
func (SkipSettings) SkipSummary ¶ added in v1.1.0
func (s SkipSettings) SkipSummary() bool
Click to show internal directories.
Click to hide internal directories.