June 2018
Beginner to intermediate
394 pages
9h 2m
English
When the function URL is refreshed, we can see the auto-generated logs in the Firebase console. The logs can be accessed from Firebase CLI and Firebase console. In Firebase CLI, use the following command to see the log:
$ firebase functions:log
This is the output:

Custom logs can be triggered by using JavaScript's very own console.log() method. Let's write code that accepts a string as a URL parameter, which is reflected in the log:
const functions = require('firebase-functions');// // Create and Deploy Your First Cloud Functions// // https://firebase.google.com/docs/functions/write-firebase-functions ...
Read now
Unlock full access