There are some companies that want you to behave as a normal customer and send food back if there is a problem and some that want you to report and do not draw any attention to yourself. You need to ask yourself if you want to shop this restaurant again. When you complain and have a manager table visit, you can become
VERY memorable.
I have gone both ways with this. If I really like the restaurant and don't want to out myself, I will wait till the report to vent about the problem. If it is a common problem, like an undercooked steak, I would report it and have it corrected.
If the issue is very unusual and is not a danger like contamination in the food, you may want to bite your tongue and save it for the report.
I have had a manager do a table check and my dining companion who is not aware they are on a shop decided to complain about something trivial. Now I'm fumbling to get the managers name and description and additional timings. Then the report took an additional 30 minutes and the manager comped a desert and that had to be reported.
I now tell my dining companion that unless they can't eat it, to wait until we are in the car to complain about a soggy baked potato or some other minor issue.