logging for the view engine

initial ideas for the view engine. #1563
put each on it's own line