Add logging helpers.