I'm developing an action which uses fulfillment. I'm using the Inline Editor. I'm moving hard coded values into FireStore so data is stored inside the function itself. The FireStore request don't go as intended: although the fulfillment call doesn't fail it doesn't find the information it supposed to. I'm trying the good old console.log type logging to try to figure out what goes wrong. But those log messages don't show anywhere.
I looked at the Function's Firebase log, but it only contains basic events: execution started, finished, and a warning.
I also upgraded the action by attaching it to a payment planned project, and enabled Stackdriver logging. That also did not display my custom logging, only boilerplate messages.
Then I tried to add custom Stackdriver logging into the Inline fulfillment function following this: https://firebase.google.com/docs/functions/writing-and-viewing-logs
But I get an error because the @google-cloud/logging is not accessible in the nodejs environment of that inline function. So I'm kinda stuck. I cannot believe there's no easy way to simply log, but multiple Google searches didn't yield anything usable I could act on.





