lib/Analog/Handler/FirePHP.php
public static function init () {
		if (! isset ($_SERVER['HTTP_USER_AGENT']) 
			|| preg_match ('{\bFirePHP/\d+\.\d+\b}', $_SERVER['HTTP_USER_AGENT'])
			|| isset ($_SERVER['HTTP_X_FIREPHP_VERSION'])) {

			header ('X-Wf-Protocol-1: http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
			header ('X-Wf-1-Plugin-1: http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3');
			header ('X-Wf-1-Structure-1: http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1');
		}

		return function ($info) {
			header (FirePHP::format_header ($info));
		};
	}
public static function init () {
		if (! isset ($_SERVER['HTTP_USER_AGENT']) 
			|| preg_match ('{\bFirePHP/\d+\.\d+\b}', $_SERVER['HTTP_USER_AGENT'])
			|| isset ($_SERVER['HTTP_X_FIREPHP_VERSION'])) {

			header ('X-Wf-Protocol-1: http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
			header ('X-Wf-1-Plugin-1: http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3');
			header ('X-Wf-1-Structure-1: http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1');
		}

		return function ($info) {
			header (FirePHP::format_header ($info));
		};
	}
public static function init ( ) { if ( ! isset ( $ _SERVER [ 'HTTP_USER_AGENT' ] ) || preg_match ( '{\bFirePHP/\d+\.\d+\b}' , $ _SERVER [ 'HTTP_USER_AGENT' ] ) || isset ( $ _SERVER [ 'HTTP_X_FIREPHP_VERSION' ] ) ) { header ( 'X-Wf-Protocol-1: http://meta.wildfirehq.org/Protocol/JsonStream/0.2' ) ; header ( 'X-Wf-1-Plugin-1: http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3' ) ; header ( 'X-Wf-1-Structure-1: http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1' ) ; } return function ( $ info ) { header ( FirePHP :: format_header ( $ info ) ) ; } ; }
Sends the initial headers if FirePHP is available then returns a
closure that handles sending log messages.
Sends the initial headers if FirePHP is available then returns a closure that handles sending log messages .