Incorrect syntax, Not working properly. wrong way to console
aqibnawazdev opened this issue · 1 comments
aqibnawazdev commented
It should be as
console.log(doc.id, "=>", doc.data())
ahmerafzal commented
try to use
const functions = require("firebase-functions");
functions.logger.error(error);