Versions in this module Expand all Collapse all v0 v0.3.0 Mar 30, 2026 Changes in this version + const DefaultFilePermissions + type Entry struct + AgentID string + DurationMs int64 + Request policy.ActionRequest + Result policy.CheckResult + SessionID string + Timestamp time.Time + type FileLogger struct + func NewFileLogger(path string) (*FileLogger, error) + func (l *FileLogger) Close() error + func (l *FileLogger) Log(entry Entry) error + func (l *FileLogger) Query(filter QueryFilter) ([]Entry, error) + type Logger interface + Close func() error + Log func(entry Entry) error + Query func(filter QueryFilter) ([]Entry, error) + type QueryFilter struct + AgentID string + Decision string + Limit int + Scope string + SessionID string + Since *time.Time + type SQLiteLogger struct + func NewSQLiteLogger(dbPath string) (*SQLiteLogger, error) + func (l *SQLiteLogger) Close() error + func (l *SQLiteLogger) Log(entry Entry) error + func (l *SQLiteLogger) Query(filter QueryFilter) ([]Entry, error)