Documentation ¶
Index ¶
- type Color
- type Logger
- func (l *Logger) Errf(color Color, s string, args ...any)
- func (l *Logger) FOutf(w io.Writer, color Color, s string, args ...any)
- func (l *Logger) Outf(color Color, s string, args ...any)
- func (l *Logger) VerboseErrf(color Color, s string, args ...any)
- func (l *Logger) VerboseOutf(color Color, 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 just a wrapper that prints stuff to STDOUT or STDERR, with optional color.
func (*Logger) VerboseErrf ¶
VerboseErrf prints stuff to STDERR if verbose mode is enabled.
Click to show internal directories.
Click to hide internal directories.