Proximity sensor triger on the Log


I need to know when the proximity sensor get trigered. There is any loging option I can check?

I know where is the sensor distance is, but I wnat to know when the FC get the instruction of braking for example.

To explain me better, if I send the drone to the wall, I need to know where to see in the log when the FC get the alarm of the safety distance and decide to not go forward anymore.