Versions in this module Expand all Collapse all v0 v0.1.2 Apr 10, 2026 Changes in this version + type Event struct + Details map[string]interface{} + Endpoint string + EventType string + IP string + Source string + Subject string + Timestamp time.Time + type Logger struct + func New(logFile string, logger *slog.Logger) (*Logger, error) + func (l *Logger) Close() error + func (l *Logger) Emit(e Event) + func (l *Logger) Recent(n int) []Event + func (l *Logger) Summarize() Summary + func (l *Logger) SummarizeDetailed() (Summary, map[string]SourceMetrics) + type SourceMetrics struct + AuthFailures int + PolicyDenials int + RateLimitHits int + type Summary struct + AdminAccess int + AuthFailures int + BySource map[string]int + ConfigSignatureInvalid int + PolicyDenials int + RateLimitHits int + RetrievalFirewallDenied int + RetrievalFirewallFiltered int + WALTamperDetected int