Can I access w3c style logs when using firebase hosting

元气小坏坏 提交于 2019-12-01 16:02:28

No.

Disclosure: I work for Firebase.

Firebase's Hosting is most often used for single-page applications that are built on top of Firebase's realtime database. In such applications, the number of times a static resource is retrieved is not a good indicator of the application's usage. Instead of that, most developers rely on the Firebase dashboard that shows the database usage over time, including the number of concurrent connections, data transfer and data storage.

I realize this is a few years old but what the hell... it's saturday. It looks like the preferred pattern would be to move all your API calls and anything else that's error prone into a Firebase function and add a handler there. You can view this log from your Firebase console...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!