Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a re-write / re-work of many of @phroggyy's ideas to improve logging. Implemented: Multi-driver logging support so you can have multiple logging channels per app. "Pipes" in @phroggyy's pull request have been re-worked as "taps". Allows customization of logging channel post-creation. Continued support for functionality provided by configureMonologUsing maintained using custom driver type with factory invokable that returns any PSR3 compatible logger. This allows full customization of entire logging channel. I decided not to implement Log::event functionality from PR because I think that would be better suited for something like a ShouldLog interface on the event itself (to complement ShouldBroadcast, etc.). Primary breaking changes: New log configuration file / settings. configureMonologUsing now custom driver type. Illuminate\Contracts\Log removed. Was literal duplication of PSR3 logging interface. Illuminate\Log\Writer renamed to Illuminate\Log\Logger.
- Loading branch information