[ Index ] |
|
Code source de LifeType 1.2.4 |
1 <?php 2 3 /** 4 * \ingroup Core 5 * 6 * Please extend this class if you wish to provide a basic loggin channel for your classes via the 7 * <b>$this->log</b> public attribute. The "default" logger will be used, make sure it is configured 8 * properly in the file config/logging.properties.php. 9 * 10 * @see LoggerManager 11 */ 12 class Loggable 13 { 14 15 var $log; 16 17 /** 18 * Constructor 19 */ 20 function Loggable() 21 { 22 lt_include( PLOG_CLASS_PATH."class/logger/loggermanager.class.php" ); 23 24 // initialize logging -- enable this only for debugging purposes 25 $this->log =& LoggerManager::getLogger( "default" ); 26 } 27 } 28 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |