setDebug()
From Engineering Client Portal
Newly introduced in SDK version 5.0.0 for International (Germany), this method enables developers to control the debugging feature that generates the additional SDK logs from the device. Debugging feature can be used for SDK integration purposes only and NOT in production environment.
The developer debug level will be set based on the value passed into this method. This is equivalent to passing the nol_devDebug parameter during App SDK Initialization.
Syntax
public static void setDebug(char debugState)
Input Parameters
Parameter | Description |
---|---|
debugState | Dev / Test environment: Pass a debug log level value (‘I’, ‘W’, ‘E’, or ‘D’) to enable debug logs and set the level of logging needed.
Production environment: Pass ‘A’ (LEVEL_DISABLE) to disable the debug log. |
Output Parameters
Output Parameters (Return value) | Description |
---|---|
void |