Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullLogger ¶
type FullLogger struct{}
FullLogger logger for stderr (warn) and stdout (info) logging
func (*FullLogger) Info ¶
func (l *FullLogger) Info(format string, a ...any)
Info prints formatted message to stdout
func (*FullLogger) Warn ¶
func (l *FullLogger) Warn(format string, a ...any)
Warn prints formatted message to stderr
type TerseLogger ¶
type TerseLogger struct{}
TerseLogger logger that only prints info level lines
func (*TerseLogger) Info ¶
func (l *TerseLogger) Info(format string, a ...any)
Info prints formatted message to stdout
func (*TerseLogger) Warn ¶
func (l *TerseLogger) Warn(format string, a ...any)
Warn is a no-op, it prints nothing
Click to show internal directories.
Click to hide internal directories.