1

I want to add logs to my React app. My requirements are:

  1. persistent logging. Could be either locally in a file, and should have an option to log to a DB.
  2. Should be able to log different levels (warnings, errors, info etc.)
  3. App exception logging.

I've heard about Sentry and Winston which might fit, but I'm not sure. It's not a problem using both if required if they complement each other.

What logging framework would you recommend? If Winston and Sentry are indeed your recommendations, what are the use cases for both?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.