Versions in this module Expand all Collapse all v0 v0.3.0 May 26, 2026 v0.2.1 May 26, 2026 Changes in this version + type Level int + const Debug + const Error + const Fatal + const Info + const Warn + func (l Level) String() string + type Logger struct + func Default() *Logger + func New(output io.Writer, level Level) *Logger + func (l *Logger) Debug(msg string, fields ...map[string]interface{}) + func (l *Logger) Error(msg string, fields ...map[string]interface{}) + func (l *Logger) Fatal(msg string, fields ...map[string]interface{}) + func (l *Logger) Info(msg string, fields ...map[string]interface{}) + func (l *Logger) SetLevel(level Level) + func (l *Logger) Warn(msg string, fields ...map[string]interface{}) + func (l *Logger) WithPrefix(prefix string) *Logger