Add time to logging.