Laravel 로그 남기기

Laravel 로그 남기기

DB 쿼리 로그 남기기

use Illuminate\Support\Facades\Log; DB::enableQueryLog(); $result = DB::table('TB_Test') ->where('idx', $idx) ->update([ 'in_name' => $request->input('in_name'), ]); Log::info(DB::getQueryLog());

from http://devlink.tistory.com/602 by ccl(A) rewrite - 2021-06-23 13:01:45