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 / Writer / FirePhp / FirePhpBridge.php
blob3d9cbc7f40a89a681b1fd4db01846b9ea2c3d441
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\Writer\FirePhp;
12 use FirePHP;
14 class FirePhpBridge implements FirePhpInterface
16 /**
17 * FirePHP instance
19 * @var FirePHP
21 protected $firephp;
23 /**
24 * Constructor
26 * @param FirePHP $firephp
28 public function __construct(FirePHP $firephp)
30 $this->firephp = $firephp;
33 /**
34 * Retrieve FirePHP instance
36 * @return FirePHP
38 public function getFirePhp()
40 return $this->firephp;
43 /**
44 * Determine whether or not FirePHP is enabled
46 * @return bool
48 public function getEnabled()
50 return $this->firephp->getEnabled();
53 /**
54 * Log an error message
56 * @param string $line
57 * @return void
59 public function error($line)
61 return $this->firephp->error($line);
64 /**
65 * Log a warning
67 * @param string $line
68 * @return void
70 public function warn($line)
72 return $this->firephp->warn($line);
75 /**
76 * Log informational message
78 * @param string $line
79 * @return void
81 public function info($line)
83 return $this->firephp->info($line);
86 /**
87 * Log a trace
89 * @param string $line
90 * @return void
92 public function trace($line)
94 return $this->firephp->trace($line);
97 /**
98 * Log a message
100 * @param string $line
101 * @return void
103 public function log($line)
105 return $this->firephp->trace($line);