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 > 700) // Log::info($queries); } } return $response; } }