Looks great!
I'll give it a try next time I have AJAX to debug
Version 0.2 is now available
Many many bug fixes, database queries now show up and works as expected.
***Note: Firephp needs to be placed above the database module in the bootstrap in order to overload the db classes
So now you can do this:
FirePHP_Profiler::instance()
->group('KO3 FirePHP Application Profiler')
->post()
->get()
->session()
->cookie()
->database()
->benchmark()
->groupEnd();
Version 0.3 is now available http://github.com/jeremyf76/KO3_FirePHP
I also started the wiki: http://wiki.github.com/jeremyf76/KO3_FirePHP/
// New easier to type syntax
Fire::log('Hi Mom!');
...its a work in progress.
Is this a toolbar or only a firephp via firebug integration ?
Kohana::$log->add('FirePHP::INFO', 'FirePHP Initialized...')->write();Fantastic. Well done. This is absolutely perfect for my needs. We don't need a debug toolbar anymore... :)
Thanks.
Kohana::modules(array(
'firephp' => MODPATH.'firephp', // FirePHP library
'codebench' => MODPATH.'codebench', // Benchmarking tool
'database' => MODPATH.'database', // Database access
...etc
));
/**
* Attach FirePHP to logging. be sure to enable firephp module
*/
// Exclude all FirePHP console logs from the file log...
Kohana::$log->attach(new FirePHP_Log_File(APPPATH.'logs'));
Kohana::$log->attach(new FirePHP_Log_Console());
class Controller_Website extends Controller_Template_FirePHP {
....something
}
It looks like you're new here. If you want to get involved, click one of these buttons!