public function registerProfilerLoggerEvent()
	{
		$app = $this->app;

		$app['events']->listen('illuminate.log', function($level, $message, $context) use ($app)
		{
			if($app['profiler']->isEnabled())
			{
				$app['profiler']->log->log($level, $message, $context);
			}
		});
	}
public function registerProfilerLoggerEvent()
	{
		$app = $this->app;

		$app['events']->listen('illuminate.log', function($level, $message, $context) use ($app)
		{
			if($app['profiler']->isEnabled())
			{
				$app['profiler']->log->log($level, $message, $context);
			}
		});
	}
public function registerProfilerLoggerEvent ( ) { $ app = $ this -> app ; $ app [ 'events' ] -> listen ( 'illuminate.log' , function ( $ level , $ message , $ context ) use ( $ app ) { if ( $ app [ 'profiler' ] -> isEnabled ( ) ) { $ app [ 'profiler' ] -> log -> log ( $ level , $ message , $ context ) ; } } ) ; }
Register an event to automatically fetch Laravel's logs.

@return void
Register an event to automatically fetch Laravel s logs .