Jump to content
Male HQ

How do you log errors or information in the frontend side?


royroddev

Recommended Posts

On 11/7/2018 at 11:56 PM, royroddev said:

For people using React or Angular, how can you store the error/info logs created in the user’s browser side?

But the first question is, why u wanna log at client side?

Usually log at server side.

Link to comment
Share on other sites

On 11/12/2018 at 12:16 AM, kjboy said:

But the first question is, why u wanna log at client side?

Usually log at server side.

that’s a good question. one reason is that if the client cannot connect to an api, we want to have a log of that incident. also maybe record some of the user’s activities 

Link to comment
Share on other sites

×
×
  • Create New...