dev-master
9999999-devFirePHP and ChromePHP console logging
MIT
The Requires
1.0.1
1.0.1.0FirePHP and ChromePHP console logging
MIT
The Requires
1.0.0
1.0.0.0FirePHP and ChromePHP console logging
MIT
The Requires
Wallogit.com
2017 © Pedro Peláez
FirePHP and ChromePHP console logging
This library helps you to deal with FirePHP and ChromePHP logging, (*1)
This is like vardump, but into the console, so it does not break the flow., (*2)
Ajax compliant ;), (*3)
It's recommended that you use Composer to install InterventionSDK., (*4)
composer require bixev/firelog "~1.0"
This will install this library and all required dependencies., (*5)
so each of your php scripts need to require composer autoload file, (*6)
<?php require 'vendor/autoload.php';
Requires Firebug, (*7)
under Firefox : tools > modules > extensions > look for "FirePHP", (*8)
You need then to activate all firebug pannels, (*9)
Manual : http://www.firephp.org/, (*10)
Install the extension : https://chrome.google.com/webstore/detail/chromephp/noaneddfkdjfnfdakjjmocngnfkfehhd, (*11)
you need to activate the extension by clicking the button in chrome, (*12)
Manual : http://craig.is/writing/chrome-logger, (*13)
simply call the method, (*14)
\Bixev\Firelog\Firelog::log($yourObject); \Bixev\Firelog\Firelog::log($yourObject, $label); \Bixev\Firelog\Firelog::log($yourObject, $label, \Bixev\Firelog\LoggerLevel::LEVEL_WARN);
Go into the browser console, you will see your logs, (*15)
You get your object., (*16)
ChromePHP uses cookies, Firephp uses multiple headers., (*17)
FirePHP supports bigger objects. In Chrome you will see too big headersin the console if you log too big objects. In that case Firefox should give you correct log., (*18)
FirePHP and ChromePHP console logging
MIT
FirePHP and ChromePHP console logging
MIT
FirePHP and ChromePHP console logging
MIT