Versions in this module Expand all Collapse all v1 v1.0.1 Sep 12, 2024 v1.0.0 Jan 28, 2024 Changes in this version + func Debugf(format string, args ...any) + func Errorf(format string, args ...any) + func Infof(format string, args ...any) + func SetDisplayMode(m DisplayMode) + func SetDisplayModeFromString(m string) + func SetStderr(w io.Writer) + func SetStdout(w io.Writer) + func Verbose(format string, args ...any) + func Warnf(format string, args ...any) + type ContextKey string + const ContextKeyLogger + type DisplayMode int + const DisplayModeDefault + const DisplayModeJSON + const DisplayModePlain + func GetDisplayMode() DisplayMode + type Logger struct + func NewLogger(m string) *Logger + func (l *Logger) Debugf(format string, args ...any) + func (l *Logger) Errorf(format string, args ...any) + func (l *Logger) GetDisplayMode() DisplayMode + func (l *Logger) Infof(format string, args ...any) + func (l *Logger) SetDisplayMode(m DisplayMode) + func (l *Logger) SetDisplayModeFromString(m string) + func (l *Logger) SetStderr(w io.Writer) + func (l *Logger) SetStdout(w io.Writer) + func (l *Logger) Verbose(format string, args ...any) + func (l *Logger) Warnf(format string, args ...any)