Constructor for FileAuditStorage.
SECURITY NOTE: Prefer using FileAuditStorage.create() for safe instantiation with proper path validation and error handling.
Audit log configuration
Optionallogger: ILoggerOptional logger instance
Internal flag, set by create() after validation
StaticcreateCreates a FileAuditStorage instance with path validation. Use this factory method for safe instantiation with proper error handling.
Audit log configuration with optional allowedRoot
Optionallogger: ILoggerOptional logger instance
Result with FileAuditStorage or SecurityError
Write an audit event to storage
Flush pending writes
Close the storage
Query events by criteria
Audit exports - Structured audit logging (Issue #193) Split from index.ts for file size compliance (Issue #285)