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.log('foo has value: ' + foo, 2);


Let me know if you found this code useful!