You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2023. It is now read-only.
The Firebase Realtime Database allows you turn on/off logs. This can be especially useful when trying to pinpoint any issues you may be having.
492
+
By default the log level is set to INFO. Turning on logging will set the log level to DEBUG and off will set it to NONE.
493
+
494
+
You MUST call `enableLogging()` before initializing firebase otherwise the app will crash.
495
+
496
+
```js
497
+
firebase.enableLogging(true); // OR
498
+
firebaseWebApi.database.enableLogging(false);
499
+
```
490
500
### keepInSync
491
501
The Firebase Realtime Database synchronizes and stores a local copy of the data for active listeners (see the methods above). In addition, you can keep specific locations in sync.
0 commit comments