Closed ditsuke closed 2 years ago
Pull Request for Issue #17 .
A logger is injected into Task at creation, and into routines through ExecutedTaskEvent at runtime.
administrator/logs/joomla_scheduler.php
No DI, ugly setup code in TaskPluginTrait etc.
DI, less static calls (still depends on the global Log instance to setup sub-loggers!), more succinct code.
-
Pull Request for Issue #17 .
Summary of Changes
A logger is injected into Task at creation, and into routines through ExecutedTaskEvent at runtime.
Testing Instructions
administrator/logs/joomla_scheduler.php
Actual result BEFORE applying this Pull Request
No DI, ugly setup code in TaskPluginTrait etc.
Expected result AFTER applying this Pull Request
DI, less static calls (still depends on the global Log instance to setup sub-loggers!), more succinct code.
Documentation Changes Required
-