Commit 9ce8a0f9 by 李洋

。。

parent 17e5319d
Showing with 2 additions and 1 deletions
...@@ -34,9 +34,10 @@ class AddEveryMysql{ ...@@ -34,9 +34,10 @@ class AddEveryMysql{
$tmp = str_replace('?', '"'.'%s'.'"', $query->sql); $tmp = str_replace('?', '"'.'%s'.'"', $query->sql);
$tmp = vsprintf($tmp, $query->bindings); $tmp = vsprintf($tmp, $query->bindings);
$tmp = str_replace("\\","",$tmp); $tmp = str_replace("\\","",$tmp);
\Log::info("host {$querys['urls']['host']} url:{$querys['urls']['path']} method:".$querys['urls']['method']." [queryTime:{$query->time}ms]".$tmp."\n\n\t"); Log::info("host {$querys['urls']['host']} url:{$querys['urls']['path']} method:".$querys['urls']['method']." [queryTime:{$query->time}ms]".$tmp."\n\n\t");
// $arr->add("123"); // $arr->add("123");
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment