4 ms·
In the frameworks we instrument, we grab that information for you at the appropriate point. In the case of vanilla PHP, the concept of controller and action is
by trjordan 15y ago
In the frameworks we instrument, we grab that information for you at the appropriate point.
In the case of vanilla PHP, the concept of controller and action is less well-defined, so we provide a function that you can use to log controller/action information you have in whatever routing class/function/layer you have.