# JavaScript Logging

> Best practices for JavaScript logging in web applications. Debug effectively with console methods and logging libraries.

*Published October 6, 2010* · Categories: web

Source: https://www.kimpel.com/2010/10/06/javascript-logging/


Today I learned an interesting feature of JavaScript along with Firebug. Instead of using "alert" to display some trace information, you can use "console.log ("my message");". Together with the free web development tool Firebug, this information can then be shown in Firebug's console window. This is extremely helpful when trying to debug some AJAX code.

Please visit [this website](https://getfirebug.com/logging) to get more information.

Saved my day ;-)

