package services

import "github.com/acp/interceptor/internal/audit"

// AuditService wraps the audit logger with domain-specific helpers.
type AuditService struct {
	log *audit.Logger
}

// NewAuditService constructs an audit service.
func NewAuditService(log *audit.Logger) *AuditService {
	return &AuditService{log: log}
}

// LogToolCallEvaluated writes a governance audit record for a completed tool-call evaluation.
func (s *AuditService) LogToolCallEvaluated(e audit.Event) {
	s.log.Write(e)
}
