Documentation
¶
Index ¶
- type Color
- type Logger
- func (l *Logger) Errf(c Color, s string, args ...any)
- func (l *Logger) Errorf(s string, args ...any)
- func (l *Logger) FOutf(w io.Writer, c Color, s string, args ...any)
- func (l *Logger) Infof(s string, args ...any)
- func (l *Logger) Outf(c Color, s string, args ...any)
- func (l *Logger) Plainf(s string, args ...any)
- func (l *Logger) VerboseErrf(c Color, s string, args ...any)
- func (l *Logger) VerboseOutf(c Color, s string, args ...any)
- func (l *Logger) Warnf(s string, args ...any)
- type PrintFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
Logger is a wrapper that prints stuff to STDOUT or STDERR, with optional color and verbosity.
func (*Logger) VerboseErrf ¶
VerboseErrf prints stuff to STDERR if verbose mode is enabled.
func (*Logger) VerboseOutf ¶
VerboseOutf prints stuff to STDOUT if verbose mode is enabled.
Click to show internal directories.
Click to hide internal directories.