Versions in this module Expand all Collapse all v0 v0.0.3 May 3, 2026 v0.0.2 Apr 1, 2026 Changes in this version + func TruncateJTI(jti string, max int) string + func TruncateUserAgent(ua string, max int) string + type Event struct + AppName string + DurationMS int64 + ErrorReason string + Identity string + Issuer string + JTI string + RemoteIP string + Result ExchangeResult + Scope string + Subject string + Timestamp time.Time + TraceID string + UserAgent string + type ExchangeResult string + const ResultCacheError + const ResultGitHubError + const ResultJTIReplay + const ResultNotFound + const ResultOIDCInvalid + const ResultPolicyDenied + const ResultSuccess + const ResultUnknownError + type FileLogger struct + func NewFileLogger(path string, bufferSize int, slogger *slog.Logger) (*FileLogger, error) + func (fl *FileLogger) Close() error + func (fl *FileLogger) Log(event Event) + type Logger interface + Close func() error + Log func(event Event) + type NopLogger struct + func (NopLogger) Close() error + func (NopLogger) Log(Event)