if I google 'firebug console API' it leads me to this page:
.php/Console_API
which documents for me the Javascript console API I can use to write to the firebug console
Google chrome also has a console object. Where is its equivalent API page?
For example, Firebug, allows: console.log('%c%s', 'color: #ABC', 'hi')
to output a string in a particular color
While google chrome only accepts console.log('%s', 'hi)
- it dosn't accept %c
if I google 'firebug console API' it leads me to this page:
http://getfirebug./wiki/index.php/Console_API
which documents for me the Javascript console API I can use to write to the firebug console
Google chrome also has a console object. Where is its equivalent API page?
For example, Firebug, allows: console.log('%c%s', 'color: #ABC', 'hi')
to output a string in a particular color
While google chrome only accepts console.log('%s', 'hi)
- it dosn't accept %c
2 Answers
Reset to default 8Chrome is using Webkit engine, same as Safari, so you can check out Console API from Safari.
Don't have a link to full documentation but you can at least glean all the methods available by running console.log(console)
;