$oldErrorLogSetting = error_reporting();
error_reporting(E_ALL);
- // Report current memory
- trigger_error(glmAssociateMemoryUsage(),E_USER_NOTICE);
-
// Setup for reports at end of controller
$controllerShortcode = $shortcode;
$controllerStartTime = microtime(true);
+
+ // Report current memory
+ trigger_error(glmAssociateMemoryUsage()." - START Shortcode: $controllerShortcode",E_USER_NOTICE);
+
}
// Start with no cache_code - This prevents caching for subordinate controller hits
}
if (GLM_MEMBERS_PLUGIN_FRONT_DEBUG) {
- trigger_error(glmAssociateMemoryUsage(),E_USER_NOTICE);
+ trigger_error(glmAssociateMemoryUsage()." - END Shortcode: $controllerShortcode",E_USER_NOTICE);
$controllerTime = round(microtime(true) - $controllerStartTime, 6);
trigger_error($controllerTime." seconds - Shortcode: $controllerShortcode, Model class: $className ---", E_USER_NOTICE);