Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Fixed references to FirePhp
Browse files Browse the repository at this point in the history
- s/FirePhp\\FirePhp/FirePhp/g
- Patch suggested by Alexander Thomas
  • Loading branch information
weierophinney committed Aug 11, 2010
3 parents 47f41ed + b4e4ced + 3f4a1db commit 163c973
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/Writer/Firebug.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 163c973

Please sign in to comment.