Skip to content
Snippets Groups Projects
Commit b9a0ff26 authored by Larry Garfield's avatar Larry Garfield Committed by Stefan Bürk
Browse files

[TASK] Add tests for log `#[Channel(...)]` attribute

v11 introduced support for using a Channel attribute to define
what log channel should be injected into a class, either via
the constructor or the LoggingAwareInterface. However, the
initial patch lacked any tests.

This patch adds basic tests to verify that the attribute works,
and indirectly document it.

Resolves: #97695
Related: #95079
Related: #95044
Releases: main, 11.5
Change-Id: I7cc97fc839ccd4015ac20b1bce787d4cbbc40a26
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74750


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent cda3d9f5
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment