Documentation
¶
Index ¶
- Variables
- func Setup(verbose bool)
- func WithLogger(ctx context.Context, logger *Logger) context.Context
- type Logger
- func (l *Logger) Debugf(msg string, args ...any)
- func (l *Logger) Errorf(msg string, args ...any)
- func (l *Logger) Infof(msg string, args ...any)
- func (l *Logger) Success(msg string, args ...any)
- func (l *Logger) Verbosef(format string, args ...any)
- func (l *Logger) Verboseln(args ...any)
- func (l *Logger) Warnf(msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogger = New(false)
Functions ¶
Types ¶
type Logger ¶
func FromContext ¶
Click to show internal directories.
Click to hide internal directories.