Adding logger to generator

#253 Lemme know if this is what you had in mind.
I think we can steal rails here. Basically `[debug] SQL QUERY (1ms)`