laravellaravel-3firephp

how to use fireAnbu in laravel 3?


I've installed the bundle fireAnbu in my local laravel 3 app, but I can't figure out how to use it! (feeling silly)

I've got 'fireanbu' => array('auto' => true), in bundles.php and 'profiler' => true, in fireanbu/config/fireanbu.php, and I've tried:

I've had a look in fireanbu/start.php for clues, but I'm guessing :(

The best clue I've had so far is:

Non-static method FirePHP::log() should not be called statically, assuming $this from incompatible context

I've looked at http://www.firephp.org/HQ/Use.htm and it looks like fireanbu is using the OO API..

What am I doing wrong / how should I call it within my controllers?


Solution

  • There no need to do anything. It would listen to event from Laravel's own Log class and attach it to FirePHP.

    Log::info('foo'); would just work nicely.