Apr 05
|
Writing to the Firebug console can be done using
console.log("Hello World");
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);