adding the ability to log the generated code to the console
fixing
Merge pull request #1 from jamieomatthews/master

Create the ability to log the generated code