From: Antoine Musso Date: Mon, 3 Jul 2006 16:45:51 +0000 (+0000) Subject: nicer debug output X-Git-Tag: 1.31.0-rc.0~56432 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=4ad31873f9e5039918c2db97e6931711bb40aa6d;p=lhc%2Fweb%2Fwiklou.git nicer debug output --- diff --git a/includes/Article.php b/includes/Article.php index a5430d5478..b6a0b94937 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2277,7 +2277,7 @@ class Article { function tryFileCache() { static $called = false; if( $called ) { - wfDebug( " tryFileCache() -- called twice!?\n" ); + wfDebug( "Article::tryFileCache(): called twice!?\n" ); return; } $called = true; @@ -2285,15 +2285,15 @@ class Article { $touched = $this->mTouched; $cache = new CacheManager( $this->mTitle ); if($cache->isFileCacheGood( $touched )) { - wfDebug( " tryFileCache() - about to load\n" ); + wfDebug( "Article::tryFileCache(): about to load file\n" ); $cache->loadFromFileCache(); return true; } else { - wfDebug( " tryFileCache() - starting buffer\n" ); + wfDebug( "Article::tryFileCache(): starting buffer\n" ); ob_start( array(&$cache, 'saveToFileCache' ) ); } } else { - wfDebug( " tryFileCache() - not cacheable\n" ); + wfDebug( "Article::tryFileCache(): not cacheable\n" ); } }