Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit a61e264

Browse files
committed
[database][ios] - EnableLogging implementation ios
1 parent c5622ce commit a61e264

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/firebase.ios.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,6 +1605,10 @@ function nativeSnapshotToWebSnapshot(snapshot: FIRDataSnapshot): DataSnapshot {
16051605
};
16061606
}
16071607

1608+
firebase.enableLogging = (logging: boolean, persistent?: boolean) => {
1609+
FIRDatabase.setLoggingEnabled(logging);
1610+
};
1611+
16081612
/***********************************************
16091613
* END Realtime Database Functions
16101614
***********************************************/

0 commit comments

Comments
 (0)