debug static method
Enable debug logging.
For native logging set native
to true
and for dart set dart
to true
.
Implementation
static Future<void> debug({
bool dart = false,
bool native = false,
bool sdk = false,
}) async {
_dartDebug = dart;
try {
await TwilioConversations().pluginApi.debug(native, sdk);
} catch (e) {
TwilioConversations.log(
'TwilioConversations::debug => Caught Exception: $e');
}
}