سلام ابتدا مثل استاد دوتا رو ایجاد کردم برای امتحان سیستم لاگ لاراول ک هر دو روت فانکشن هاشون کار نمیکنن
Route::get('log', function () {
    $video = Video::class;
    Log::emergency('test',['video' => $video]);
    // Log::info('test');
});
Route::get('exception', function () {
    throw new Exception('this new');
});
و صفحه 404
NOT FOUND رو برمیگردونن
در مورد handler هم
فقط در این حالت
    public function register()
    {
        $this->reportable(function (Throwable $e) {
            echo $e->getMessage();
        });
        $this->renderable(function (Throwable $e) {
            return true;
        });
    }
یک پیام خاص برای دو روت بالا میفرستد بدون اعمال کردن فانکشن ها
Route::get('exception');
یعنی شما به این شکل هم روت تعریف کنی نتیجه یکسانه.
و وقتی
        $this->renderable(function (Throwable $e) {
            return true;
        });
باشه موقتا سیستم از کار میفته
This page isn’t working 127.0.0.1 is currently unable to handle this request.HTTP ERROR 500
 
        