RedactionConfig class

Redaction configuration for sensitive data in logs.

Controls which context fields are redacted before logging.

Constructors

RedactionConfig({bool enabled = true, List<String> fields = const ['password', 'token', 'secret', 'apiKey', 'authorization'], String replacement = '***REDACTED***'})
const

Properties

enabled → bool
Whether redaction is enabled.
final
fields → List<String>
Field names to redact from log context.
final
hashCode → int
The hash code for this object.
no setterinherited
replacement → String
Replacement string for redacted values.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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