MOCA iOS SDK LOG_LEVEL Settings

MOCA iOS SDK LOG_LEVEL Settings

You can set a variety of logging levels for our SDK in the MOCAconfig.plist file, under the LOG_LEVEL variable:

 

LOG_LEVELDescription
OffLog is turned off at SDK level.
ErrorShows only error events.
WarningShows only warning events.
InfoShows only info events.
DebugShows all previous. Recommended during integration phase.
TraceHyper detailed log. Only recommended during deep troubleshooting situations.

 

When asked by support for logs, please always send Debug mode logs unless specified otherwise.

    • Related Articles

    • iOS 13 and MOCA SDK

      MOCA iOS SDK has been tested on BETA versions of iOS 13. Find the version notes below: - MOCA SDK for iOS uses the CoreBluetooth framework in order to monitor bluetooth status. In iOS 13 the mere fact of using any of the CoreBluetooth methods will ...
    • Reading MOCA SDK Logs

      The logs related to the MOCA SDK are very helpful to find configuration errors. The log starts with these two lines: I/MOCA: Initializing MOCAPlugin I/MOCA: Init MOCA SDK, version x.x.x This shows that the plugin has started, and which is the version ...
    • MOCA SDK Beacon detection engine latency

      The MOCA SDK detection engine differentiates between foreground and background, and works differently in iOS and Android. For Android, in the foreground it scans more aggressively and, using the Balanced profile, detect beacons within 5 seconds ...
    • Testing Proximity after SDK Integration

      After the integration of the SDK in your App, it’s time to test that Proximity is working. To do so: Enable Wi-Fi, Bluetooth and Mobile Data. Install your App on your device. Open your App. Accept permissions: iOS: Background App refresh active, ...
    • Android 10 and MOCA SDK

      MOCA Android SDK has been tested in the Android 10 OTA. Find the notes for this version below: Android 10 introduces a new permission model where the user can choose between “When in Use” or “Always” location permission. The SDK works correctly with ...