AuditLoggerConfig class
Audit logger configuration
Constructors
- 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)?})
-
const
Properties
- autoPersistInterval → Duration?
-
Auto-persist interval (null = manual only)
final
- enabled → bool
-
Enable audit logging
final
- enableEncryption → bool
-
Enable encryption for audit logs
final
- enableTamperProof → bool
-
Enable tamper-proof hashing
final
- encryptionKey → String?
-
Encryption key
final
- encryptionProvider → EncryptionProvider?
-
Encryption provider
final
- eventFilter → bool Function(AuditEvent event)?
-
Event filter (return true to log, false to skip)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxEventsInMemory → int
-
Max events in memory
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → StorageBackend?
-
Storage for audit logs
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited