mcatze
Well-known member
I have a logging routine and want to log just when debug mode is enabled. I have tried to use..
..but is doesn't work. I also found
Is there another way to ask for debug mode?
PHP:
if(\XF::$debugMode)
{
//Logroutine
}
$this->assertDebugMode()
but i can't call these method.Is there another way to ask for debug mode?