I am trying to log my own messages using Query Monitor API, which I found in the code, like
\QM::error($msg) etc. But nothing is written to the query monitor console or developer's console or the error log. This log is done during AJAX request, where some errors have already occur and I just want to add more information for the investigation.
What's way of using that?