fix(gen): do not use console to display messages

Messages should be displayed using the generator methods #log