AuditLoggerConfig constructor
const
AuditLoggerConfig({
- bool enabled = true,
- bool enableTamperProof = true,
- bool enableEncryption = false,
- EncryptionProvider? encryptionProvider,
- String? encryptionKey,
- StorageBackend? storage,
- int maxEventsInMemory = 1000,
- Duration? autoPersistInterval,
- bool eventFilter(
- AuditEvent event
Implementation
const AuditLoggerConfig({
this.enabled = true,
this.enableTamperProof = true,
this.enableEncryption = false,
this.encryptionProvider,
this.encryptionKey,
this.storage,
this.maxEventsInMemory = 1000,
this.autoPersistInterval,
this.eventFilter,
});