Thursday 11 March 2010 6:54:30 am
Hi, I'm coding an extension, and I'd like to use conditional debug in my extension. I mean I put a debug line in my code, and the latter will really be printed in a debug file if settings in my extension allows it. To achieve this, I've looked at the eZDebugSetting that seems to suit my need In my extension, I have: eZDebugSetting::writeError( 'dmv-workflow', "my test string", "my test label" ); And in my extension settings, I have a debug.ini.append.php that contains:
[GeneralCondition] dmv-workflow=enabled However It doesn't print any log message in error.log (the master switch for conditional debugging is enabled, ConditionDebug=enabled) Any idea how to solve this problem ? Thanks for your precious help !
|