logging for the view engine

#1563
If you want to be totally 1337 you can add trailing commas to all these so that the next person doesn't need to modify *2* lines.