Documentation ¶
Index ¶
- Variables
- func Close()
- func Done() <-chan struct{}
- func Err(prefix, format string, args ...any)
- func Fatal(format string, args ...any)
- func Info(prefix, format string, args ...any)
- func Std(prefix, format string, args ...any)
- func Warn(prefix, format string, args ...any)
- type Outputter
- func (o Outputter) Child(prefix string) Outputter
- func (o Outputter) Err(format string, args ...any)
- func (o Outputter) Info(format string, args ...any)
- func (o Outputter) Std(format string, args ...any)
- func (o Outputter) Warn(format string, args ...any)
- func (o Outputter) Write(payload []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RawRed = color.New(color.FgRed) RawGreen = color.New(color.FgGreen) RawBlue = color.New(color.FgBlue) RawYellow = color.New(color.FgYellow) RawCyan = color.New(color.FgCyan) RawMagenta = color.New(color.FgMagenta) Red = RawRed.SprintFunc() Green = RawGreen.SprintFunc() Blue = RawBlue.SprintFunc() Yellow = RawYellow.SprintFunc() )
Functions ¶
Types ¶
type Outputter ¶
type Outputter struct {
// contains filtered or unexported fields
}
func NewOutputter ¶
Click to show internal directories.
Click to hide internal directories.