Adding logger to generator

#253 Lemme know if this is what you had in mind.
I'm not sure I follow @josevalim. If I remove `require Logger` of the quote completely I get a runtime error. If I move it just above the quote, the same, if I move it to top of the file, the same.

Do I need to move the require logger statement into the gen.repo task then?