logging for the view engine

#1563
Might want to terminate each statement with a `.`.