[pLog-svn] r1603 - plog/trunk/class/object
ork at devel.plogworld.net
ork at devel.plogworld.net
Sat Mar 26 18:23:44 GMT 2005
Author: ork
Date: 2005-03-26 18:23:43 +0000 (Sat, 26 Mar 2005)
New Revision: 1603
Modified:
plog/trunk/class/object/object.class.php
Log:
log might not be an object, added if_object
Modified: plog/trunk/class/object/object.class.php
===================================================================
--- plog/trunk/class/object/object.class.php 2005-03-24 14:19:12 UTC (rev 1602)
+++ plog/trunk/class/object/object.class.php 2005-03-26 18:23:43 UTC (rev 1603)
@@ -58,6 +58,8 @@
{
// initialize logging -- enable this only for debugging purposes
//$this->log =& LoggerManager::getLogger( "default" );
+ if (is_object($this->log))
+ $this->log->debug('Memory used: ' . memory_get_usage());
}
function __getObjectId()
More information about the pLog-svn
mailing list