Adding logger to generator

#253 Lemme know if this is what you had in mind.
Sounds good @josevalim 

@ericmj i'm not sure the "right" way to present the sql, I assumed its just a string, and unless I parse the sql string I'm not sure of how to pretty print. Unless ecto has a pretty print or similar?