sql); $qBindings = []; foreach ($query->bindings as $key => $value) { if (is_numeric($key)) { $qBindings[] = $value; } else { $tmp = str_replace(':' . $key, '"' . $value . '"', $tmp); } } $tmp = vsprintf($tmp, $qBindings); $tmp = str_replace("\\", "", $tmp); Log::info(' execution time: ' . $query->time . 'ms; ' . $tmp); }); } } }