TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #95079
Issue Feature Closed

#95079Support PHP 8 channel attribute for logger injection

Benjamin Franzke 09/02/21, 12:18 updated 09/07/21, 07:31

Open in Forge Comment in Forge

Description

Services should be able to control the component name that the
injected logger is created with.
This allows to group logs of related classes and is basically
a channel system as often used in monolog.

Also this would be a nice preparation for future monolog logging.

Reviews 3

  • 11.5 75304[TASK] Add tests for log `#[Channel(...)]` attribute Related to this issue Merged Stefan Bürk CR +2 V +2 → main Normal +230 −1 07/26/22, 21:36
  • main 74750[TASK] Add tests for log `#[Channel(...)]` attribute Related to this issue Merged crell CR +2 V +2 → 11.5 Normal +221 −1 07/26/22, 21:05
  • main 70849[FEATURE] Support PHP 8 style Channel attribute for logger injection Resolves this issue Merged Benjamin Franzke CR +2 V +2 Normal +178 −2 09/03/21, 15:50

Related issues 1

  • Feature #95044Support autowired LoggerInterface injection Related to Closed System/Bootstrap/Configuration Benjamin Franzke 08/31/21, 07:16
Assigned to
Benjamin Franzke
Author
Benjamin Franzke
Priority
Should have
Category
System/Bootstrap/Configuration
Target version
11.4
PHP version
8.0
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback