25 $_SERVER[
'HTTP_USER_AGENT'] =
'Monolog Test; FirePHP/1.0';
36 'X-Wf-Protocol-1' =>
'http://meta.wildfirehq.org/Protocol/JsonStream/0.2',
37 'X-Wf-1-Structure-1' =>
'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1',
38 'X-Wf-1-Plugin-1' =>
'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3',
39 'X-Wf-1-1-1-1' =>
'test',
40 'X-Wf-1-1-1-2' =>
'test',
43 $this->assertEquals($expected, $handler->getHeaders());
59 'X-Wf-Protocol-1' =>
'http://meta.wildfirehq.org/Protocol/JsonStream/0.2',
60 'X-Wf-1-Structure-1' =>
'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1',
61 'X-Wf-1-Plugin-1' =>
'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3',
62 'X-Wf-1-1-1-1' =>
'test',
63 'X-Wf-1-1-1-2' =>
'test',
67 'X-Wf-1-1-1-3' =>
'test',
68 'X-Wf-1-1-1-4' =>
'test',
71 $this->assertEquals($expected, $handler->getHeaders());
72 $this->assertEquals($expected2, $handler2->getHeaders());
82 self::$initialized =
false;
83 self::$sendHeaders =
true;
84 self::$messageIndex = 1;
89 $this->headers[
$header] = $content;
94 return $this->headers;
const DEBUG
Detailed debug information.
if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
Simple FirePHP Handler (http://www.firephp.org/), which uses the Wildfire protocol.
setFormatter(FormatterInterface $formatter)
{Sets the formatter.self}
getRecord($level=Logger::WARNING, $message='test', $context=array())
const WARNING
Exceptional occurrences that are not errors.
Create styles array
The data for the language used.
sendHeader($header, $content)