logging for the view engine

initial ideas for the view engine. #1563
Ah ok. Should I do the same for the Controller, or does that need to be an object with more information?