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
10 namespace Zend\Log\Writer\FirePhp
;
14 class FirePhpBridge
implements FirePhpInterface
26 * @param FirePHP $firephp
28 public function __construct(FirePHP
$firephp)
30 $this->firephp
= $firephp;
34 * Retrieve FirePHP instance
38 public function getFirePhp()
40 return $this->firephp
;
44 * Determine whether or not FirePHP is enabled
48 public function getEnabled()
50 return $this->firephp
->getEnabled();
54 * Log an error message
59 public function error($line)
61 return $this->firephp
->error($line);
70 public function warn($line)
72 return $this->firephp
->warn($line);
76 * Log informational message
81 public function info($line)
83 return $this->firephp
->info($line);
92 public function trace($line)
94 return $this->firephp
->trace($line);
100 * @param string $line
103 public function log($line)
105 return $this->firephp
->trace($line);