title: javascript function modification
body: <p>I am trying to write a logger object which logs messages to screen. here is my code.
  <a href="http://github.com/huseyinyilmaz/javascript-logger" rel="nofollow noreferrer">http://github.com/huseyinyilmaz/javascript-logger</a>
  in every function that needs to log something, I am writing loggerstart and loggerEnd functions at start and end of my functions. But I want to run thos codes automaticalls for every function. is there a way to modify Function prototype so every function call can run automatically.
  (I am not using any javascript framework.)</p>