javascript - What's the best way to log in Single Page Application -


just want insight on this.

currently i'm using console log in angular spa. log viewable when develop it. when out there in other people's browse, have no way see , check.

what library/tools can use have sort of runtime information when spa in beta test, or in production?

as you're using angularjs, best option use $log service (which have inject own controllers, etc.)

then, there few options relevant bits out:

  • sentry - focused on error/warning reporting, integrated angularjs - production
  • loggly - collects everything, staging environments
  • build own - if feeling brave!

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -