Project

General

Profile

Actions

Feature #95044

closed

Support autowired LoggerInterface injection

Added by Benjamin Franzke over 2 years ago. Updated over 2 years 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 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF