laravel 打印日志

DB::connection()->enableQueryLog();#开启执行日志
return DB::getQueryLog();
原文地址:https://www.cnblogs.com/zsczsc/p/14141927.html