title: How to maintain logs for front end in react js?
body: <p>I maintain logs for my backend node js using log4js and it works fine. But I want to do the same for my front end, But I couldn't find a proper package to do that and also in some blogs I came to know that we cannot maintain files in client-side.</p>
  <p>So How do I maintain logs for the react js front end?</p>
  <p>Note: I want to maintain logs for both info and error, just like this package <a href="https://www.npmjs.com/package/log4js" rel="nofollow noreferrer">https://www.npmjs.com/package/log4js</a></p>