Upgrade the logging so that it works on PHP 7.4 and PHP 8.0
Currently we're using requiring the following in composer:
- "monolog/monolog": "^1.23"
- "theorchard/monolog-cascade": "^0.5.0",
theorchard/monolog-cascade is not compatible with PHP 8.0 and only PHP 7.4. The most recent version (5.0.3) cannot be installed, due to composer conflicts.
monolog-cascade was implemented as an easier way to configure and use monolog. Deprecate monolog-cascade and update the logging class to use only monolog/monolog, which will make dependencies much easier to manage.
The resulting logger instance should still be able to write to different stream, so logging can be separated for db, php and api
Edited by laughing man