setLogger() public method

Set this instance's logger.
public setLogger ( Horde_Log_Logger $logger )
$logger Horde_Log_Logger The logger.
示例#1
0
文件: Driver.php 项目: Gomez/horde
 /**
  * Set the logger.
  *
  * @param Horde_Log_Logger $logger  The logger.
  */
 public function setLogger($logger)
 {
     parent::setLogger($logger);
     $this->_connector->setLogger($logger);
     if (!empty($this->_imap)) {
         $this->_imap->setLogger($logger);
     }
 }