laravel打印数据库日志
\DB::enableQueryLog();
$result->increment('ci', 1);
\Log::info('SQL Log:', \DB::getQueryLog());
最近访问时间:2025-08-30 02:50:09
\DB::enableQueryLog();
$result->increment('ci', 1);
\Log::info('SQL Log:', \DB::getQueryLog());