enableDebugLogs static method

void enableDebugLogs(
  1. bool enable
)

Use this method to enable/disable the debug logs of the Appmate framework. The default parameter is false.

  • Parameters:
    • enable: Set to true to show Appmate logs.

Implementation

static void enableDebugLogs(bool enable) async {
  // todo: create a Logger class to log all the incoming data from the native bridgs and make this as a flag to log or ignore the case.
  _channel.invokeMethod('enableDebugLogs', {"enable": enable});
}