error logging Tricks

Browse latest tricks and tips on error logging.

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 : 9 hours ago 12 Comments