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
Post a Comment