Versions in this module Expand all Collapse all v1 v1.4.2 Feb 15, 2026 Changes in this version + type DefaultLogger struct + func NewDefaultLogger(minLevel Level) *DefaultLogger + func (l *DefaultLogger) Debug(msg string, fields ...Field) + func (l *DefaultLogger) Error(msg string, fields ...Field) + func (l *DefaultLogger) Info(msg string, fields ...Field) + func (l *DefaultLogger) Warn(msg string, fields ...Field) + type Field struct + Key string + Value interface{} + func F(key string, value interface{}) Field + type Level int + const LevelDebug + const LevelError + const LevelInfo + const LevelWarn + func (l Level) String() string + type Logger interface + Debug func(msg string, fields ...Field) + Error func(msg string, fields ...Field) + Info func(msg string, fields ...Field) + Warn func(msg string, fields ...Field) + type NoopLogger struct + func (NoopLogger) Debug(string, ...Field) + func (NoopLogger) Error(string, ...Field) + func (NoopLogger) Info(string, ...Field) + func (NoopLogger) Warn(string, ...Field)