Writing to the Firebug console can be done using
As well as a log() method there are also debug(), info(), warn() and error() methods which the log message gets suitably color coded in the Firebug console.
The methods all support printf style formatting
console.log("Received %d messages", messageCount);
Leave a Reply
You must be logged in to post a comment.