logging for the view engine

#1563
would `ViewDataTypes` be better?