DebugBar Doc Tutorials Public |
Companion.JS adds the useful Firebug "console" feature to Internet Explorer. You can use "console.log(), console.debug(), ..." the same way you used it with Firebug. Not all the functions are implemented so far on the version 0.2. The following functions are not yet implemented : console.dir, console.trace, console.group, console.groupEnd, console.profile, console.profileEnd console.log(object[, object, ...])Logs the message on the console, all arguments joined by space. The first argument may be a string with a "printf"-like format.
console.debug(object[, object, ...])console.info(object[, object, ...])console.warn(object[, object, ...])console.error(object[, object, ...])Log messages with custom icon depending on the function used. console.assert(expression[, object, ...])Test if the expression is true. If so, the info is logged in the console. console.dirxml(node)Log the HTML source if the requested node. console.time(name)console.timeEnd(name)Stops a timer created by a call to console.time(name) and writes the time elapsed. |