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 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 More sharing options...
royroddev Posted November 14, 2018 Author Report Share Posted November 14, 2018 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 More sharing options...
kjboy Posted November 14, 2018 Report Share Posted November 14, 2018 3 hours ago, 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 Maybe u can use this: https://github.com/pimterry/loglevel Link to comment Share on other sites More sharing options...
Recommended Posts