diff options
author | wei <> | 2006-01-05 01:13:15 +0000 |
---|---|---|
committer | wei <> | 2006-01-05 01:13:15 +0000 |
commit | 77750ab4cc4c0055a29352334a9357d74e3957d3 (patch) | |
tree | 193b2956bb39d69a406196598146e328d3bbb867 /framework/Web/Services/TPageService.php | |
parent | 4ab3e2865788db181a0d4d6d3b459123df43d2b5 (diff) |
coreLog instrumentation.
Diffstat (limited to 'framework/Web/Services/TPageService.php')
-rw-r--r-- | framework/Web/Services/TPageService.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 5723269f..8f12c650 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -146,6 +146,7 @@ class TPageService extends TService */
public function init($config)
{
+ Prado::coreLog("Initializing TPageService");
$application=$this->getApplication();
$application->setPageService($this);
@@ -250,6 +251,7 @@ class TPageService extends TService // load modules specified in page directory config
foreach($pageConfig->getModules() as $id=>$moduleConfig)
{
+ Prado::coreLog("Loading module $id");
$module=Prado::createComponent($moduleConfig[0]);
$application->setModule($id,$module);
foreach($moduleConfig[1] as $name=>$value)
@@ -425,6 +427,7 @@ class TPageService extends TService */
public function run()
{
+ Prado::coreLog("Running page service");
$page=null;
$path=$this->_basePath.'/'.strtr($this->_pagePath,'.','/');
if(is_file($path.self::PAGE_FILE_EXT))
@@ -611,6 +614,7 @@ class TPageConfiguration extends TComponent */
private function loadFromFile($fname,$page)
{
+ Prado::coreLog("Loading $page with file $fname");
if(empty($fname) || !is_file($fname))
return;
$dom=new TXmlDocument;
|