functions/index.js
exports.log = functions.https.onRequest((request, response) => { const errorlog = request.query['errorlog'] console.error(errorlog); response.send("Hello from Firebase!log"); });