APPENDIX D

image

Logging, Error Handling, and Debugging

D-1. Logging

Logging is an integral part of any application. It helps developers and support personnel monitor the execution path under different scenarios and diagnose the problems. A well implemented logging mechanism in the application reduces the time to identify the root cause of the problem. Developers should be careful about the amount of logging they implement in the application. On the one hand logging is very helpful but on the other hand, too much logging impacts performance and requires a huge amount of disk storage.

Because a security mechanism is built into most browsers which prevents ...

Get jQuery 2 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.