1: <?php
2:
3: namespace Guzzle\Log;
4:
5: /**
6: * Adapts a Zend Framework 1 logger object
7: */
8: class Zf1LogAdapter extends AbstractLogAdapter
9: {
10: /**
11: * {@inheritdoc}
12: */
13: public function __construct(\Zend_Log $logObject)
14: {
15: $this->log = $logObject;
16: }
17:
18: /**
19: * {@inheritdoc}
20: */
21: public function log($message, $priority = LOG_INFO, $extras = null)
22: {
23: $this->log->log($message, $priority, $extras);
24: }
25: }
26: