Open Journal Systems  3.3.0
Zf1LogAdapter.php
1 <?php
2 
3 namespace Guzzle\Log;
4 
6 
13 {
14  public function __construct(\Zend_Log $logObject)
15  {
16  $this->log = $logObject;
17  Version::warn(__CLASS__ . ' is deprecated');
18  }
19 
20  public function log($message, $priority = LOG_INFO, $extras = array())
21  {
22  $this->log->log($message, $priority, $extras);
23  }
24 }
Guzzle\Log\Zf1LogAdapter
Definition: Zf1LogAdapter.php:12
Guzzle\Log\AbstractLogAdapter
Definition: AbstractLogAdapter.php:8
Guzzle\Common\Version\warn
static warn($message)
Definition: Version.php:23
Guzzle\Common\Version
Definition: Version.php:8
Guzzle\Log\Zf1LogAdapter\log
log($message, $priority=LOG_INFO, $extras=array())
Definition: Zf1LogAdapter.php:20
Guzzle\Log\Zf1LogAdapter\__construct
__construct(\Zend_Log $logObject)
Definition: Zf1LogAdapter.php:14
Guzzle\Log
Definition: AbstractLogAdapter.php:3