Client-side javascript code to log info, error, warn, debug
Logger.warn('A warning');
Logger.info('something happend');
To see the logger and console, press ALT-D (or CTRL-D on OS X). More information on the logger can be found at http://gleepglop.com/javascripts/logger/