Introduction to Errors & Logging in Laravel 5.4
In software/ web development error logging plays a vital role in the maintenance and debugging process of application or project. It is believed that at the time of development if you add error logging/ tracing capabilities in your project then in future if any bugs or errors will occur or produced then it will reduce the time of fixing those bugs. Logging helps you to quickly traces bugs and evaluate the health of the application in development or maintenance period.
Laravel comes with excellent error and exception handling feature. When you install Laravel framework (MVC) error and exception handling is configured at the same time.
Laravel App\Exceptions\Handler class is responsible for handling all exceptions triggered by your application and logs them or display them to app users.