AuditLoggerConfig constructor

const AuditLoggerConfig({
  1. bool enabled = true,
  2. bool enableTamperProof = true,
  3. bool enableEncryption = false,
  4. EncryptionProvider? encryptionProvider,
  5. String? encryptionKey,
  6. StorageBackend? storage,
  7. int maxEventsInMemory = 1000,
  8. Duration? autoPersistInterval,
  9. bool eventFilter(
    1. 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,
});