setLoggingEnabled static method

void setLoggingEnabled(
  1. bool enabled
)

Globally enables / disables Firestore logging for the SDK.

Enabled is LogLevel.debug; disabled goes back to the default, LogLevel.warn (warnings and errors). setLogLevel gives finer control.

Implementation

// Published API; batch B/C.
// ignore: avoid_positional_boolean_parameters
static void setLoggingEnabled(bool enabled) {
  applyLoggingEnabled(enabled: enabled);
}