disableDebugMode method

void disableDebugMode ()

Disables all debug features enabled by enableDebugMode.

Implementation

static void disableDebugMode() {
  if (_debugMode) {
    _debugMode = false;
    _debugModeLogging = false;
    _debugModeTelemetry = false;
    _logger?.clearListeners();
    _logger = null;
  }
}