Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 763 Bytes

Logging.md

File metadata and controls

26 lines (18 loc) · 763 Bytes

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