logging for the view engine

#1563
this class will be used once and then thrown away, per-instance caching isn't useful.