Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Log / LoggerAwareTrait.php
blob701524814843aa8291c9a1d0903ef9d4591a4f74
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 namespace Zend\Log;
12 use Zend\Log\LoggerInterface;
14 trait LoggerAwareTrait
16 /**
17 * @var LoggerInterface
19 protected $logger = null;
21 /**
22 * Set logger object
24 * @param LoggerInterface $logger
25 * @return mixed
27 public function setLogger(LoggerInterface $logger)
29 $this->logger = $logger;
31 return $this;