I recently switched from Laravel 5.5 to 5.6
Everything's working fine except I can't seem to get logging to the Chrome console to work.
I used to do this in AppServiceProvider.php
$monolog = Log::getMonolog();
if (config('app.env') === 'local') {
$infohandler = new ChromePHPHandler(Logger::INFO, false);
$infohandler->setFormatter(new ChromePHPFormatter());
$monolog->pushHandler($infohandler);
}
The 'getMonolog' seems to have been removed. Anyone have quick solution to get this working again?