Add logging to main rendering functions.