Use line number for logging.