From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Separate Console API page for
m (Added categories)
(One intermediate revision not shown)
Line 22: Line 22:
* [[Console.warn]]
* [[Console.warn]]
* [[Console.error]]
* [[Console.error]]
* [[Console API]]

Latest revision as of 00:08, 22 November 2013

Writes a message to the console with the visual "info" icon and blue background and a hyperlink to the line where it was called.


[edit] Syntax[, object, ...])

[edit] Parameters

[edit] object

Object to output in the console. This can be any kind of object. The first argument to log may be a string containing printf-like string substitution patterns. The complete list of patterns can be seen at console.log.

[edit] Examples"This is some info message.");

This prints Info.png This is some info message. to the console.

[edit] See also

Personal tools