Versions in this module Expand all Collapse all v1 v1.0.0 Jul 19, 2026 Changes in this version + const LevelDebug + const LevelError + const LevelInfo + const LevelWarn + var Log = New() + func FormatBytesB(b uint64) string + func FormatBytesD(b uint64) string + func StringFromParameters(parameters map[string]any) string + type IColor interface + Blue func(m string) string + HiBlack func(m string) string + Red func(m string) string + Yellow func(m string) string + type LogLevel int + type Logger struct + Color IColor + FileMode os.FileMode + FilePath string + Level LogLevel + Options LoggerOptions + Stderr io.Writer + Stdout io.Writer + func New() *Logger + func (l *Logger) Close() + func (l *Logger) Connect(sourceName string) *Source + func (l *Logger) Open() error + func (l *Logger) Reset() + func (l *Logger) Rotate(act func() error) error + func (l *Logger) RotateDate(date time.Time) error + type LoggerOptions struct + EscapeCharacters bool + type Source struct + Name string + func (s *Source) ClearLevelOverride() + func (s *Source) Debug(format string, a ...interface{}) + func (s *Source) Error(format string, a ...interface{}) + func (s *Source) Fatal(format string, a ...interface{}) + func (s *Source) GoLogger(level LogLevel) *log.Logger + func (s *Source) Info(format string, a ...interface{}) + func (s *Source) OverrideLevel(level LogLevel) + func (s *Source) PDebug(event string, parameters map[string]any) + func (s *Source) PError(event string, parameters map[string]any) + func (s *Source) PFatal(event string, parameters map[string]any) + func (s *Source) PInfo(event string, parameters map[string]any) + func (s *Source) PPanic(event string, parameters map[string]any) + func (s *Source) PWarn(event string, parameters map[string]any) + func (s *Source) PWrite(level LogLevel, event string, parameters map[string]any) + func (s *Source) Panic(format string, a ...interface{}) + func (s *Source) Warn(format string, a ...interface{}) + func (s *Source) Write(level LogLevel, format string, a ...interface{})