If trying to log before app is ready : ex: artisan command, etc.. The logger will throw exceptions.
This ensures it can log before it logs.
I had the issue in a CI/CD where an artisan command would fail when building the docker image because of a config error.
the DB logger would just spit out exceptions and impossible to find my real error :)
If trying to log before app is ready : ex: artisan command, etc.. The logger will throw exceptions. This ensures it can log before it logs.
I had the issue in a CI/CD where an artisan command would fail when building the docker image because of a config error. the DB logger would just spit out exceptions and impossible to find my real error :)