Versions in this module Expand all Collapse all v1 v1.2.0 May 15, 2025 v1.1.0 May 15, 2025 Changes in this version + type DefaultLogger struct + func NewWithOutput(enabled bool, logFile string, verbose bool, stdout, stderr io.Writer) *DefaultLogger + func (l *DefaultLogger) Close() error + func (l *DefaultLogger) Error(format string, args ...interface{}) + func (l *DefaultLogger) Info(format string, args ...interface{}) + func (l *DefaultLogger) InfoToUser(format string, args ...interface{}) + func (l *DefaultLogger) SetStderr(w io.Writer) + func (l *DefaultLogger) SetStdout(w io.Writer) + func (l *DefaultLogger) StatusMessage(format string, args ...interface{}) + func (l *DefaultLogger) Success(format string, args ...interface{}) + func (l *DefaultLogger) Warning(format string, args ...interface{}) + func (l *DefaultLogger) WarningToUser(format string, args ...interface{}) + type Logger interface + Close func() error + Error func(format string, args ...interface{}) + Info func(format string, args ...interface{}) + InfoToUser func(format string, args ...interface{}) + StatusMessage func(format string, args ...interface{}) + Success func(format string, args ...interface{}) + Warning func(format string, args ...interface{}) + WarningToUser func(format string, args ...interface{}) + func New(enabled bool, logFile string, verbose bool) Logger