/ Published in: JavaScript
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
jQuery.fn.log = function (msg) {
console.log("%s: %o", msg, this);
return this;
};
URL: http://ajaxian.com/archives/jquery-logging
Comments
 Subscribe to comments
                    Subscribe to comments
                
                