# Module utils/auditLogger

Audit Logger for GDPR compliance and security monitoring.

Intelligence Perspective: Audit trails enable accountability analysis and access pattern intelligence—essential for data governance in political data systems.

Business Perspective: GDPR audit compliance is a prerequisite for enterprise customers and EU institutional partnerships requiring demonstrable data governance.

Marketing Perspective: GDPR-compliant audit logging is a trust signal for EU-focused customers and differentiates against non-compliant alternatives.

ISMS Policy: AU-002 (Audit Logging and Monitoring), GDPR Articles 5, 17, 30

Logs all access to personal data (MEP information) for audit trails and regulatory compliance.

#### Since

0.8.0

## Enumerations

LogLevel

## Classes

AuditLogger

## Interfaces

AuditEvent

## Variables

auditLogger

## Functions

toErrorMessage

## References

AuditFilter → AuditFilter
AuditLogEntry → AuditLogEntry
AuditLoggerOptions → AuditLoggerOptions
AuditSink → AuditSink
AuthToken → AuthToken
DEFAULT_SENSITIVE_KEYS → DEFAULT_SENSITIVE_KEYS
FileAuditSink → FileAuditSink
FileAuditSinkOptions → FileAuditSinkOptions
MemoryAuditSink → MemoryAuditSink
RetentionPolicy → RetentionPolicy
sanitizeParams → sanitizeParams
StderrAuditSink → StderrAuditSink
StructuredJsonSink → StructuredJsonSink