YAAMSOrg / yaams-server

Yet Another Airline Management System
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Backend: Implement application logging #49

Open flymia opened 2 months ago

flymia commented 2 months ago

We need to implement an application log, which logs actions from users and also changes in Eloquent models somewhere.

We also need to implement a LOG_LEVEL setting.

flymia commented 2 months ago

Maybe use something like a trait: https://www.barryodonovan.com/2020/04/27/logging-changes-in-laravel-eloquent or maybe https://github.com/spatie/laravel-activitylog