Feature #95044

Support autowired LoggerInterface injection

Added by Benjamin Franzke 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Category:
System/Bootstrap/Configuration
Target version:
Start date:
2021-08-31
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Logger may be required to be available during object
construction, LoggerAwareInterface isn't an option in that case.
Therefore LoggerInterface as constructor argument should be
autowired (if the services is configured to use autowiring)
and instantiated with an object-specific logger.


Related issues

Related to TYPO3 Core - Feature #95079: Support PHP 8 channel attribute for logger injectionClosedBenjamin Franzke2021-09-02

Actions

Also available in: Atom PDF