url(), '_debugbar') === false) { $queries = DB::getQueryLog(); $count = count($queries); $timeEnd = microtime(true); $time = $timeEnd - $timeStart; Log::info($request->method().' - '.$request->url().": $count queries - ".$time); if($count > 50) Log::info($queries); } } return $response; } }