Restructure Logger to new paradigm

This commit is contained in:
Philipp Holzer 2021-10-23 12:22:27 +02:00
commit 184f6cc255
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
28 changed files with 219 additions and 169 deletions

View file

@ -141,7 +141,7 @@ return [
* and is automatically passed as an argument with the same name
*/
LoggerInterface::class => [
'instanceOf' => Factory\LoggerFactory::class,
'instanceOf' => \Friendica\Core\Logger\Factory\Logger::class,
'constructParams' => [
'index',
],
@ -150,7 +150,7 @@ return [
],
],
'$devLogger' => [
'instanceOf' => Factory\LoggerFactory::class,
'instanceOf' => \Friendica\Core\Logger\Factory\Logger::class,
'constructParams' => [
'dev',
],