enableDebugLog method

Future<bool> enableDebugLog(
  1. bool isEnabled
)

It makes debug logs enable/disable. By default debug logs are disabled. We don't recommand to enable logs in live environment. 'isEnabled' must be either true/false. true - enable debug log. false - disable debug log. Returns a bool indicating that if enableDebugLog call is successful or not. In case of error it can also throw exceptions. ///

Implementation

Future<bool> enableDebugLog(bool isEnabled) async {
  throw UnimplementedError('enableDebugLog() has not been implemented.');
}