Ваш this не указывает на функцию, как хотелось бы)
$.fn.log = function(){ window.console.log( this ) };
$(function(){  }).log();//undefined
Можно попробывать вот так
Function.prototype.periodical = function( period ){ 
  return setInterval( this, period || 1 );
};
function(){ window.console.log( "periodical" ) }.periodical(1000);