Open nibra opened 3 years ago
https://github.com/joomla-projects/soc21_website-cronjob/blob/f445b0bd261946ff92f818573231832f747b6ad6/administrator/components/com_scheduler/src/Traits/TaskPluginTrait.php#L192
Either inject the logger (implement LoggerAwareInterface) or retrieve the logger from the application's container.
https://github.com/joomla-projects/soc21_website-cronjob/blob/f445b0bd261946ff92f818573231832f747b6ad6/administrator/components/com_scheduler/src/Traits/TaskPluginTrait.php#L192
Either inject the logger (implement LoggerAwareInterface) or retrieve the logger from the application's container.