mailgun-php/Mailgun/Guzzle/Log/Zf1LogAdapter.php
2013-07-17 22:48:12 -07:00

25 lines
493 B
PHP

<?php
namespace Guzzle\Log;
use Guzzle\Common\Version;
/**
* Adapts a Zend Framework 1 logger object
* @deprecated
* @codeCoverageIgnore
*/
class Zf1LogAdapter extends AbstractLogAdapter
{
public function __construct(\Zend_Log $logObject)
{
$this->log = $logObject;
Version::warn(__CLASS__ . ' is deprecated');
}
public function log($message, $priority = LOG_INFO, $extras = array())
{
$this->log->log($message, $priority, $extras);
}
}