Replace Logger class with DI::logger() #1594

Merged
MrPetovan merged 30 commits from Art4/friendica-addons:replace-logger-with-loggerinterface into develop 2025-01-24 14:34:45 +01:00
Contributor

In https://github.com/friendica/friendica/pull/14682 we deprecated the Friendica\Core\Logger class and in https://github.com/friendica/friendica/pull/14688 we replaced all calls for the Friendica\Core\Logger class with constructor injection of Psr\Log\LoggerInterface or with DI::logger().

This PR replaces all calls for the Friendica\Core\Logger class with DI::logger() in all addons.

In https://github.com/friendica/friendica/pull/14682 we deprecated the `Friendica\Core\Logger` class and in https://github.com/friendica/friendica/pull/14688 we replaced all calls for the `Friendica\Core\Logger` class with constructor injection of `Psr\Log\LoggerInterface` or with `DI::logger()`. This PR replaces all calls for the `Friendica\Core\Logger` class with `DI::logger()` in all addons.
Art4 added 30 commits 2025-01-24 13:14:33 +01:00
MrPetovan added the
2025.02
label 2025-01-24 14:32:03 +01:00
MrPetovan approved these changes 2025-01-24 14:34:38 +01:00
MrPetovan merged commit cdba300c7b into develop 2025-01-24 14:34:45 +01:00
Art4 deleted branch replace-logger-with-loggerinterface 2025-01-24 15:06:54 +01:00
Sign in to join this conversation.
No description provided.