Versions in this module Expand all Collapse all v0 v0.2.0 Nov 12, 2026 v0.1.0 Sep 5, 2026 Changes in this version + const DefaultMaxLogBytes + type Level int + const Full + const NewValues + const Off + const Replacements + func ParseLevel(s string) (Level, error) + type Logger struct + func New(level Level, w io.Writer) *Logger + func (l *Logger) BeginRoundTrip() + func (l *Logger) Enabled(lvl Level) bool + func (l *Logger) FullBody(direction, path string, real, tokenized []byte) + func (l *Logger) FullSSEFrame(path, side, eventType, data string) + func (l *Logger) NewValue(entityType, real, token, wireValue string) + func (l *Logger) Replacement(direction, entityType, real, token string) + type RotatingWriter struct + func NewRotatingWriter(path string, maxBytes int64) (*RotatingWriter, error) + func (rw *RotatingWriter) Close() error + func (rw *RotatingWriter) MaybeRotate() + func (rw *RotatingWriter) Write(p []byte) (int, error)