As an ASP.NET developer I incorporate server-side error logging in the mission critical projects I work on to track unhandled exceptions and more. In my server side .NET world ELMAH is the go-to solution. It’s an open source error logging solution that is super easy to configure and use. I can’t describe how beneficial it has been over the years.
We all must be careful to find the balance between helpful logging information and a drag on performance. I’ve tried a few different solutions over the years and they all have their pros and cons. Some are free and some are pay. Developers who make the effort can find what works best for them on Google. Another option is to write a custom logging system. I recently read that some folks are using Google Analytics to register an “Event” by modifying the “window.onerror” method. Interesting, but I haven’t personally tried that yet.