React Native Firebase
    Preparing search index...
    • Sets the native logging level for the database module. By default, only warnings and errors are logged natively. Setting this to true will log all database events.

      Ensure logging is disabled for production apps, as excessive logging can cause performance issues.

      const db = getDatabase();

      // Set debug logging if developing
      if (__DEV__) {
      setLoggingEnabled(db, true);
      }

      Parameters

      Returns void