Adding logger to generator

#253 Lemme know if this is what you had in mind.