get('explorerCPSettings/debugLevel')=='error' || self::doDebugLogging(); } /** * Return a boolean indicating whether debug logging should be done * @return boolean */ private static function doDebugLogging(){ return KTConfig::getSingleton()->get('explorerCPSettings/debugLevel')=='debug'; } public static function logInfo(){ } public static function logError(){ } } ?>