snippets-web icon indicating copy to clipboard operation
snippets-web copied to clipboard

Incorrect syntax, Not working properly. wrong way to console

Open aqibnawazdev opened this issue 1 year ago • 1 comments

It should be as

 console.log(doc.id,  "=>",  doc.data())

https://github.com/firebase/snippets-web/blob/e74e8fd9591f70007a44c58580ff0f1fcd1c7959/snippets/firestore-next/test-firestore/get_all_users.js#L8-L13

aqibnawazdev avatar Jan 29 '24 13:01 aqibnawazdev

try to use

const functions = require("firebase-functions");
functions.logger.error(error);

ahmerafzal avatar Jun 01 '24 11:06 ahmerafzal