Versions in this module Expand all Collapse all v0 v0.2.0 Mar 16, 2026 v0.1.0 Mar 16, 2026 Changes in this version + type Format int + const FormatJSON + const FormatText + type Level int + const LevelDebug + const LevelError + const LevelInfo + const LevelWarn + func (l Level) String() string + type Logger interface + Debug func(msg string, fields ...string) + Error func(msg string, fields ...string) + Info func(msg string, fields ...string) + Warn func(msg string, fields ...string) + WithLevel func(level Level) Logger + func Nop() Logger + type StdLogger struct + func New(w io.Writer, level Level, format Format) *StdLogger + func (l *StdLogger) Debug(msg string, fields ...string) + func (l *StdLogger) Error(msg string, fields ...string) + func (l *StdLogger) Info(msg string, fields ...string) + func (l *StdLogger) Warn(msg string, fields ...string) + func (l *StdLogger) WithLevel(level Level) Logger