royroddev Posted November 7, 2018 Report Share Posted November 7, 2018 For people using React or Angular, how can you store the error/info logs created in the user’s browser side? Link to comment Share on other sites More sharing options...
kjboy Posted November 11, 2018 Report Share Posted November 11, 2018 On 11/7/2018 at 3: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? Expand But the first question is, why u wanna log at client side? Usually log at server side. Link to comment Share on other sites More sharing options...
royroddev Posted November 14, 2018 Author Report Share Posted November 14, 2018 On 11/11/2018 at 4:16 PM, kjboy said: But the first question is, why u wanna log at client side? Usually log at server side. Expand 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 More sharing options...
kjboy Posted November 14, 2018 Report Share Posted November 14, 2018 On 11/14/2018 at 10:26 AM, royroddev said: 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 Expand Maybe u can use this: https://github.com/pimterry/loglevel Link to comment Share on other sites More sharing options...
Recommended Posts