Source of file FirePhpBridge.php
Size: 1,942 Bytes - Last Modified: 2014-03-12T23:21:18+01:00
/home/theseer/Downloads/ZendFramework-2.3.0/library/Zend/Log/Writer/FirePhp/FirePhpBridge.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 | <?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Zend\Log\Writer\FirePhp; use FirePHP; class FirePhpBridge implements FirePhpInterface { /** * FirePHP instance * * @var FirePHP */ protected $firephp; /** * Constructor * * @param FirePHP $firephp */ public function __construct(FirePHP $firephp) { $this->firephp = $firephp; } /** * Retrieve FirePHP instance * * @return FirePHP */ public function getFirePhp() { return $this->firephp; } /** * Determine whether or not FirePHP is enabled * * @return bool */ public function getEnabled() { return $this->firephp->getEnabled(); } /** * Log an error message * * @param string $line * @return void */ public function error($line) { return $this->firephp->error($line); } /** * Log a warning * * @param string $line * @return void */ public function warn($line) { return $this->firephp->warn($line); } /** * Log informational message * * @param string $line * @return void */ public function info($line) { return $this->firephp->info($line); } /** * Log a trace * * @param string $line * @return void */ public function trace($line) { return $this->firephp->trace($line); } /** * Log a message * * @param string $line * @return void */ public function log($line) { return $this->firephp->trace($line); } } |