PaygateLogger class

Logger utility for PayGate operations

Constructors

PaygateLogger()

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

Static Methods

apiRequest(String method, String url, Map<String, dynamic>? params) → void
Log API request
apiResponse(String url, int statusCode, String? response) → void
Log API response
debug(String message, [Object? error, StackTrace? stackTrace]) → void
Log debug message
error(String message, [Object? error, StackTrace? stackTrace]) → void
Log error message
info(String message, [Object? error, StackTrace? stackTrace]) → void
Log info message
setLevel(PaygateLogLevel level) → void
Set the minimum log level
transactionCompleted(String identifier, String status) → void
Log transaction completed
transactionFailed(String identifier, String reason) → void
Log transaction failed
transactionStarted(String identifier, double amount, String provider) → void
Log transaction started
warning(String message, [Object? error, StackTrace? stackTrace]) → void
Log warning message