A nice simple jquery logger
jQuery.fn.log = function (msg) {
  console.log("%s: %o", msg, this);
  return this;
};
Language JavaScript / Tagged with jquery, logging