logging in Laravel Tricks

Browse latest tricks and tips on logging in Laravel.

How to enable query log in Laravel?

Enable query log LaravelUse the enableQueryLog method: Use the enableQueryLog method:DB::connection()->enableQueryLog(); You can get an array of the executed queries by using t ...
published on : 2 minutes ago 12 Comments