Logging

For logging purposes, WMT uses WMTLogger class that prints to the console.

Note that logging to the console is available only when the library is compiled in the Debug mode or with WMT_ENABLE_LOGGING Swift compile condition.

Verbosity Level

You can limit the amount of logged information via verboseLevel property.

Level Description
off Silences all messages.
errors Only errors will be printed to the debug console.
warnings (default) Errors and warnings will be printed to the debug console.
all All messages will be printed to the debug console.

Example configuration:

import WultraMobileTokenSDK

WMTLogger.verboseLevel = .all
Last updated on Oct 04, 2022 (07:13) Edit on Github Send Feedback
Search

1.8.x

Mobile Token SDK for iOS