LogDropNetworkLogger class

Main SDK class to initialize network interception. It uses HttpOverrides to inject a custom HttpClient into the application.

Constructors

LogDropNetworkLogger()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

init() → void
Initializes the logger. It wraps any existing HttpOverrides to ensure compatibility with other tools.
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

Static Methods

maskSensitiveHeaders(Map<String, String> headers) → Map<String, String>
Replaces the values of sensitiveHeaderNames (case-insensitive) before a record is handed to the native SDK.
setLogCallback(HttpLogCallback? callback) → void

Constants

maskedHeaderValue → const String
sensitiveHeaderNames → const Set<String>
Header names whose values never leave the device (compared lower-case). Same set as the native OkHttp path, plus the token headers the native bridges already mask.