The following examples can be found in this page's source code. Try the following links with the console open:
For those of us who maintain the presumably nasty debugging habit of littering JavaScript source code with console.log
statements:
clog.js
clog (message, criteria)
where you'd normally use console.log (message)
?clog
) whose value matches your desired criteria (e.g.: http://example.com/index.html?clog=criteria
) to log messages with matching criteria to the consoleThat's it! Use ?clog=*
to log all messages to the console.
The following examples can be found in this page's source code. Try the following links with the console open: