Hey folks,
In my experience, it's not uncommon for developers to use some kind of logging API to which they can send debugging statements to help in the supportability of their software.
To this extent, Moodle does have the function \debugging which appears to be useful for this purpose.
With that being said, I am noticing that when running unit tests, if any call to \debugging is made over the course of the execution of the test, the test will fail.
Am I mis-interpreting the purpose of \debugging? Is it really only intended to be used to log errors?