LogMiddleware class

Implemented types

Constructors

LogMiddleware({required bool enabled, Map<String, dynamic> filter(Map<String, dynamic>)?, bool withHeader = false, List<String> redact = defaultRedact})

Properties

enabled → bool
final
filter ↔ Map<String, dynamic> Function(Map<String, dynamic>)?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
redact → List<String>
a body field or header whose name contains one of these (any case) is logged as [REDACTED], so passwords and tokens stay out of logs.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
withHeader → bool
final

Methods

handle(IDoxRequest req) → IDoxRequest
override
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

Constants

defaultRedact → const List<String>