-
Notifications
You must be signed in to change notification settings - Fork 0
Enabling logs from Paytrail sdk
baderkhane oussama edited this page Oct 31, 2023
·
1 revision
Enabling Debug Logs By default, logs are disabled in the SDK for a cleaner and more production-ready experience. However, for debugging and troubleshooting purposes, you can enable logging as follows:
PaytrailLogger.isLoggingEnabled = true
To filter logs related to the SDK, use the tag MSDK.
Enabling logging will provide you with additional information that can be useful when diagnosing issues or monitoring the SDK's behavior during development and testing.
Please pay attention when enabling logging in production environments, as it may reveal sensitive information or generate excessive log output.