Plugin logger must use `LoggerInterface` typehint instead of `LoggerChannelInterface` in Drupal 10.3

Created on 11 December 2024, 11 days ago

Problem/Motivation

As seen in many other modules, the installer now utilizes the NullLogger which satisfies LoggerInterface but not LoggerChannelInterface, which is not deprecated but states it should not itself be used for typehinting.

Steps to reproduce

Crashed site on install in Drupal 10.3.

Proposed resolution

Adjust typehint.

Remaining tasks

Review and commit.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bradjones1 Digital Nomad Life

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024