JavaScript Debug Logger

This project is being discontinued. Use at your own risk! 😉

This is a simple JavaScript Debug Logger I wrote for use with JWChat, but it should work with any other JavaScript based web application too.

Example code for usage (compatible with Firebug’s and Safari’s console):

[...]
<script language="JavaScript" type="text/javascript" src="Debugger.js"></script>
[...]
if (typeof console == 'undefined' || !console) {
console = new Debugger(4,'HelloWorld');
console.start();
[...]
console.log('foo has value: ' + foo, 2);

Download

Let me know if you found this code useful!


Notice: link_pages is deprecated since version 2.1.0! Use wp_link_pages() instead. in /home/zeank/stefan-strigler.de/wp-includes/functions.php on line 3831