CakePHP4 Logging

If this code

Debugger::log($test, 'debug', 6);

Writes html in the log file, then yes I would open an issue.

If not then I would just define a function like log() thas does the code I posted.