/* * Console Log - jQuery plugin for writing to the Firebug console * * Author: Dominic Mitchell * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Version: 1 * * For documentation visit http://happygiraffe.net/blog/archives/2007/09/26/jquery-logging * */ jQuery.fn.log = function (msg) { console.log("%s: %o", msg, this); return this; };