enableDebugLogs static method
Enables debug logs. You should call this method before SDK initialization.
iOS
only parameterlevel
is optional. Default value is ApphudDebugLevel.low. The value ApphudDebugLevel.high enables printing of additional debug messages, for example HTTP requests and responses
Implementation
static Future<void> enableDebugLogs({
ApphudDebugLevel level = ApphudDebugLevel.low,
}) =>
_channel.invokeMethod('enableDebugLogs', {
'level': level == ApphudDebugLevel.low ? 0 : 1,
});