Create LoggerManager::changeLogChannel()

This commit is contained in:
Art4 2025-01-11 08:05:50 +00:00
parent d9af357663
commit 48154a090a
4 changed files with 70 additions and 7 deletions

View file

@ -162,6 +162,13 @@ return (function(string $basepath, array $getVars, array $serverVars, array $coo
['create', [], Dice::CHAIN_CALL],
],
],
'$LoggerInterface' => [
'shared' => false,
'instanceOf' => \Friendica\Core\Logger\LoggerManager::class,
'call' => [
['getLogger', [], Dice::CHAIN_CALL],
],
],
\Friendica\Core\Logger\Type\SyslogLogger::class => [
'instanceOf' => \Friendica\Core\Logger\Factory\SyslogLogger::class,
'call' => [