Permalink
Browse files

Fixed references to FirePhp

- s/FirePhp\\FirePhp/FirePhp/g
- Patch suggested by Alexander Thomas
  • Loading branch information...
weierophinney committed Aug 11, 2010
1 parent 36fc861 commit edeeaffea98908848a9441e81b5a65c53c837681
Showing with 14 additions and 14 deletions.
  1. +14 −14 library/Zend/Log/Writer/Firebug.php
@@ -33,7 +33,7 @@
* @uses \Zend\Log\Logger
* @uses \Zend\Log\Formatter\Firebug
* @uses \Zend\Log\Writer\AbstractWriter
- * @uses \Zend\Wildfire\Plugin\FirePhp\FirePhp
+ * @uses \Zend\Wildfire\Plugin\FirePhp
* @category Zend
* @package Zend_Log
* @subpackage Writer
@@ -47,20 +47,20 @@ class Firebug extends AbstractWriter
* Maps logging priorities to logging display styles
* @var array
*/
- protected $_priorityStyles = array(Log\Logger::EMERG => FirePhp\FirePhp::ERROR,
- Log\Logger::ALERT => FirePhp\FirePhp::ERROR,
- Log\Logger::CRIT => FirePhp\FirePhp::ERROR,
- Log\Logger::ERR => FirePhp\FirePhp::ERROR,
- Log\Logger::WARN => FirePhp\FirePhp::WARN,
- Log\Logger::NOTICE => FirePhp\FirePhp::INFO,
- Log\Logger::INFO => FirePhp\FirePhp::INFO,
- Log\Logger::DEBUG => FirePhp\FirePhp::LOG);
+ protected $_priorityStyles = array(Log\Logger::EMERG => FirePhp::ERROR,
+ Log\Logger::ALERT => FirePhp::ERROR,
+ Log\Logger::CRIT => FirePhp::ERROR,
+ Log\Logger::ERR => FirePhp::ERROR,
+ Log\Logger::WARN => FirePhp::WARN,
+ Log\Logger::NOTICE => FirePhp::INFO,
+ Log\Logger::INFO => FirePhp::INFO,
+ Log\Logger::DEBUG => FirePhp::LOG);
/**
* The default logging style for un-mapped priorities
* @var string
*/
- protected $_defaultPriorityStyle = FirePhp\FirePhp::LOG;
+ protected $_defaultPriorityStyle = FirePhp::LOG;
/**
* Flag indicating whether the log writer is enabled
@@ -191,9 +191,9 @@ protected function _write($event)
$label = isset($event['firebugLabel'])?$event['firebugLabel']:null;
- FirePhp\FirePhp::getInstance()->send($message,
- $label,
- $type,
- array('traceOffset'=>6));
+ FirePhp::getInstance()->send($message,
+ $label,
+ $type,
+ array('traceOffset'=>6));
}
}

0 comments on commit edeeaff

Please sign in to comment.