LokotroPayLog class
Redaction-aware structured logger for the Lokotro Pay SDK.
PCI DSS 3.2 / 3.4 / 8.3.6 — PAN, CVV, PIN, OTP, and other authentication material must never appear in release-build logs. This helper:
- Becomes a no-op in release builds (
kReleaseMode). - Redacts known sensitive keys when callers pass a structured map.
Use this INSTEAD OF bare debugPrint(...) / print(...) in any code path
that touches payment data.
Example:
LokotroPayLog.d('payment.submit', {'pan': pan, 'amount': amount});
// debug builds: payment.submit {pan: REDACTED, amount: 1000}
// release build: (no output)
Constructors
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
-
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