1$timeStart = microtime(true);
2
3App::finish(function() use ($timeStart) {
4 $diff = microtime(true) - $timeStart;
5 $sec = intval($diff);
6 $micro = $diff - $sec;
7 Log::debug(Request::getMethod() . "[" . Request::url() . "] Time: " . round($micro * 1000, 4) . " ms");
8});
9