db enable query log code example Example: db enable query log DB::enableQueryLog(); dd(DB::getQueryLog());