Versions in this module Expand all Collapse all v2 v2.1.1 May 1, 2025 Changes in this version + type ILogger interface + Debug func(msg string, args ...any) + Error func(msg string, args ...any) + Info func(msg string, args ...any) + SetLevel func(level Level) + type Level string + const DebugLvl + const ErrorLvl + const InfoLvl + type Logger struct + func New(w io.Writer, opts ...Opts) *Logger + func (l *Logger) Debug(msg string, args ...any) + func (l *Logger) Error(msg string, args ...any) + func (l *Logger) Info(msg string, args ...any) + func (l *Logger) SetLevel(level Level) + type Opts func(*Logger)