Add some docs around logging.