Versions in this module Expand all Collapse all v2 v2.2.0 Nov 20, 2022 Changes in this version + type DefaultLogger struct + func (l *DefaultLogger) Debug(message string) + func (l *DefaultLogger) Error(message string) + func (l *DefaultLogger) Fatal(message string) + func (l *DefaultLogger) Info(message string) + func (l *DefaultLogger) Print(message string) + func (l *DefaultLogger) Trace(message string) + func (l *DefaultLogger) Warning(message string) + type FileLogger struct + func (l *FileLogger) Debug(message string) + func (l *FileLogger) Error(message string) + func (l *FileLogger) Fatal(message string) + func (l *FileLogger) Info(message string) + func (l *FileLogger) Print(message string) + func (l *FileLogger) Println(message string) + func (l *FileLogger) Trace(message string) + func (l *FileLogger) Warning(message string) + type LogLevel uint8 + const DEBUG + const ERROR + const INFO + const TRACE + const WARNING + func StringToLogLevel(input string) (LogLevel, error) + type Logger interface + Debug func(message string) + Error func(message string) + Fatal func(message string) + Info func(message string) + Print func(message string) + Trace func(message string) + Warning func(message string) + func NewDefaultLogger() Logger + func NewFileLogger(filename string) Logger