Add logging utilities.