Reputation: 107
I have debugbar installed, and it is showing up. However, whenever I try to send a message to the console:
use Debugbar\Debugbar;
....
Debugbar::info('this is info');
I get this error:
Call to undefined method Debugbar\Debugbar::info()
I have the following in my app.php:
'providers' =>
Barryvdh\Debugbar\ServiceProvider::class,
'aliases' =>
'Debugbar' => Barryvdh\Debugbar\Facade::class
A similar question was asked here but after following all the advice in the discussion, the problem still persists. If I try to call to call Debugbar like this:
app('debugbar')->error('Watch out..');
There is no error, but the message still does not appear
Upvotes: 0
Views: 2058