Posted By

tennison on 07/29/10


Tagged

jquery console log


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Cepreu
jillella


jquery console.log


 / Published in: JavaScript
 

URL: http://ajaxian.com/archives/jquery-logging

  1. jQuery.fn.log = function (msg) {
  2. console.log("%s: %o", msg, this);
  3. return this;
  4. };

Report this snippet  

You need to login to post a comment.