/ Published in: JavaScript
URL: http://ajaxian.com/archives/jquery-logging
Expand |
Embed | Plain Text
jQuery.fn.log = function (msg) { console.log("%s: %o", msg, this); return this; };
You need to login to post a comment.
tennison on 07/29/10
2 people have marked this snippet as a favorite
URL: http://ajaxian.com/archives/jquery-logging
jQuery.fn.log = function (msg) { console.log("%s: %o", msg, this); return this; };
You need to login to post a comment.