Logging

This SDK logs various situations on different levels for your convenience to filter.

Example logging configuration

Set all logs to debug

import WultraProximityTransfer

WultraLogger.proximityTransfer.setVerboseLevel(.debug)

Set all logs to info

import WultraProximityTransfer

WultraLogger.proximityTransfer.setVerboseLevel(.info)

Set QR logger to debug

import WultraProximityTransfer

WultraLogger.proximityTransfer.qr.verboseLevel = .debug

Available loggers

For example qr logger can be accessed via WultraLogger.proximityTransfer.qr.

  • common - common logs that does not fit particular category
  • coder - logs arond WPTCoder
  • qr - logs around QR code generator
  • bluetooth - logs for the Bluetooth related informations
Last updated on Jan 30, 2024 (12:32) Edit on Github Send Feedback
Search

1.0.0

Proximity Transfer for Apple