Versions in this module Expand all Collapse all v1 v1.0.1 Jan 28, 2024 v1.0.0 Jan 28, 2024 Changes in this version + const Black + const Blue + const Cyan + const Green + const Purple + const Red + const Reset + const White + const Yellow + func Debugf(format string, a ...interface{}) + func Debugln(message string) + func Errorf(format string, a ...interface{}) + func Errorln(message string) + func Infof(format string, a ...interface{}) + func Infoln(message string) + func SetColor(level Level, color string) + func SetDefaultColors() + func SetDefaultOutput() + func SetDefaultTemplate() + func SetDefaultTimeFormat() + func SetOutput(level Level, file *os.File) + func SetTemplate(template string) + func SetTimeFormat(format string) + func Toggle(level Level, toggle bool) + type Level int + const DEBUG + const ERROR + const INFO + func (l Level) String() string + type Logger struct + func NewLogger() *Logger + func (l *Logger) Debugf(format string, a ...interface{}) + func (l *Logger) Debugln(message string) + func (l *Logger) Errorf(format string, a ...interface{}) + func (l *Logger) Errorln(message string) + func (l *Logger) Infof(format string, a ...interface{}) + func (l *Logger) Infoln(message string) + func (l *Logger) SetColor(level Level, color string) + func (l *Logger) SetDefaultColors() + func (l *Logger) SetDefaultOutput() + func (l *Logger) SetDefaultTemplate() + func (l *Logger) SetDefaultTimeFormat() + func (l *Logger) SetOutput(level Level, file *os.File) + func (l *Logger) SetTemplate(template string) + func (l *Logger) SetTimeFormat(format string) + func (l *Logger) Toggle(level Level, toggle bool)