TJavascriptLogger provides logging for client-side javascript. It is mainly a wrapper of the javascript developed at http://gleepglop.com/javascripts/logger/.
To use TJavascriptLogger, simply place the following component tag in a page template.
Then, the client-side javascript may contain the following statements. When they are executed, they will appear in the logger window.
To toggle the visibility of the logger and console on the browser window, press ALT-D (or CTRL-D on OS X).