I'm working on a website that uses JQuery on the client and ASP.NET/C# and PageMethods on the server.
I'm looking for some suggestions for logging JavaScript errors on the server.
My plan is to have some general-purpose PageMethods in my base page, and if an error occurs in a try/catch block in my JQuery code, I'll call the PageMethod and pass up the function name, user context, and other relevant params (like JSON strings, variables, etc).
Obviously, I'll only be able to do this for errors that are caught in a try/catch block.
A similar question was posed here but that was more than 6 months ago.
I'm considering both Log4Net and native .NET logging capabilities on the server.