Answers for "log all exceptions laravel"

PHP
2

laravel catch exception ex log save

use Illuminate\Support\Facades\Log;

catch (\Exception $ex) {
            Log::error($ex);
        }
Posted by: Guest on August-02-2021

Browse Popular Code Answers by Language