[pLog-svn] r1709 - plog/branches/plog-1.1-ben/class/object

ork at devel.plogworld.net ork at devel.plogworld.net
Mon Apr 4 17:47:18 GMT 2005


Author: ork
Date: 2005-04-04 17:47:18 +0000 (Mon, 04 Apr 2005)
New Revision: 1709

Modified:
   plog/branches/plog-1.1-ben/class/object/object.class.php
Log:
we need a global enable_logging var to decide whether we include the logger.class or we don't..


Modified: plog/branches/plog-1.1-ben/class/object/object.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/object/object.class.php	2005-04-04 17:45:05 UTC (rev 1708)
+++ plog/branches/plog-1.1-ben/class/object/object.class.php	2005-04-04 17:47:18 UTC (rev 1709)
@@ -24,7 +24,7 @@
     if(PHP_VERSION < 5)
 	    include_once( PLOG_CLASS_PATH."class/object/exception.class.php" );
 
-	include_once( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
+	// include_once( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" );
     include_once( PLOG_CLASS_PATH."debug.php" );
 	
 	/**
@@ -57,7 +57,7 @@
 		function Object()
 		{
 			// initialize logging -- enable this only for debugging purposes
-			//$this->log =& LoggerManager::getLogger( "default" );
+			// $this->log =& LoggerManager::getLogger( "default" );
             if (is_object($this->log))
                 $this->log->debug('Memory used: ' . memory_get_usage());
 		}




More information about the pLog-svn mailing list