Versions in this module Expand all Collapse all v1 v1.3.2 Jan 13, 2023 v1.3.1 Jan 13, 2023 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 + UseStdOut bool + 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) + var L Logger + func Initialize(useStdOut bool) Logger + func NewDefaultLogger() Logger + func NewFileLogger(filename string, useStdOut bool) Logger