[pLog-svn] r478 - plog/trunk/class/object
subaochen at devel.plogworld.net
subaochen at devel.plogworld.net
Mon Dec 13 13:11:28 GMT 2004
Author: subaochen
Date: 2004-12-13 13:11:28 +0000 (Mon, 13 Dec 2004)
New Revision: 478
Modified:
plog/trunk/class/object/object.class.php
Log:
sorry,I have some trouble with Log4php and php5, so sometimes I use PEAR::Log...
These two log utils can be switched easily.
Modified: plog/trunk/class/object/object.class.php
===================================================================
--- plog/trunk/class/object/object.class.php 2004-12-13 13:08:13 UTC (rev 477)
+++ plog/trunk/class/object/object.class.php 2004-12-13 13:11:28 UTC (rev 478)
@@ -25,7 +25,7 @@
include_once( PLOG_CLASS_PATH."class/logger/LogUtil.php" );
include_once( PLOG_CLASS_PATH."debug.php" );
- include_once( PLOG_CLASS_PATH."class/logger/Log.php" );
+ //include_once( PLOG_CLASS_PATH."class/logger/Log.php" );
/**
* This is the highest class on the top of our hierarchy. Provides some common methods
* useful to deal with objects, an also some commodity methods for debugging such as
@@ -43,13 +43,15 @@
*/
function Object()
{
+ /*
$conf = array('mode' => 0644, 'timeFormat' => '%X %x');
$this->log = &Log::singleton('file',
'tmp/plog.log',
$this->className(),
$conf);
+ */
// initialize logging
- // $this->log =& LoggerManager::getLogger( $this->className());
+ $this->log =& LoggerManager::getLogger( $this->className());
}
function __getObjectId()
More information about the pLog-svn
mailing list