Hey there! I have a problem with Cloud Functions logs. I have just a blank page like on the screenshot.
This problem is only with the info logs, not with error logs.
it can happen if you use logger.info(4) for example instead of logger.info(“3”) or instead of logger.info(JSON.stringify(variable_name)).
it is preferably to use logger.info(JSON.stringify(variable_name)) vs logger.info(variable_name).
A restart to server should fix the problem. But you will also have to update logger.info calls.
Thanks. I assumed the same thing, but it seems to me that the logger needs to be improved so that it can display objects without JSON.stringify.
yes, it needs to be improved, we know that.
1 Like