Versions in this module Expand all Collapse all v2 v2.0.0 Feb 28, 2024 Changes in this version + func Debug(a ...any) (int, error) + func Debugf(format string, a ...any) (int, error) + func Debugln(a ...any) (int, error) + func IsDebugLevel() bool + func IsWarningLevel() bool + func SetLevel(level Level) + func SetWriter(w io.Writer) + func Warning(a ...any) (int, error) + func Warningf(format string, a ...any) (int, error) + func Warningln(a ...any) (int, error) + func Writer() io.Writer + type Level int + const DebugLevel + const NoneLevel + const WarningLevel + type Logger struct + func Default() *Logger + func New(w io.Writer, l Level) *Logger + func (l *Logger) IsDebugLevel() bool + func (l *Logger) IsWarningLevel() bool + func (l *Logger) Level() Level + func (l *Logger) SetLevel(level Level) + func (l *Logger) SetWriter(w io.Writer) + func (l *Logger) Writer() io.Writer + func (l Logger) Debug(a ...any) (int, error) + func (l Logger) Debugf(format string, a ...any) (int, error) + func (l Logger) Debugln(a ...any) (int, error) + func (l Logger) Warning(a ...any) (int, error) + func (l Logger) Warningf(format string, a ...any) (int, error) + func (l Logger) Warningln(a ...any) (int, error) Other modules containing this package github.com/fmenezes/mongodb-atlas-cli