问题 How to set log level for Firestore? According to documentation here, i should use setLogLevel method but i can't see method at Firestore client objects, like FirestoreClient.getFirestore() . 回答1: For those who ended up here trying to change the log level for the JS Web SDK: firebase.firestore.setLogLevel("debug"); // "debug" | "error" | "silent" Notice the lack of () after firestore, as opposed to: firebase.firestore().settings(/*...*/) 回答2: Current versions for most environments documented