Exemplo n.º 1
0
 /**
  * Override the configured logger.
  *
  * This is primarily for things like unit tests / debugging where
  * you want to change the logger without altering the configuration file.
  *
  * You can use any logger class that implements the propel.logger.BasicLogger
  * interface.  This interface is based on PEAR::Log, so you can also simply pass
  * a PEAR::Log object to this method.
  *
  * @param      object $logger The new logger to use. ([PEAR] Log or BasicLogger)
  * @return     void
  */
 public static function setLogger($logger)
 {
     self::$logger = $logger;
 }