mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 03:48:49 +00:00
Rewrite Monolog factory to implement LoggerFactory
This commit is contained in:
parent
16a8172c37
commit
e6d92cc94a
3 changed files with 33 additions and 41 deletions
|
@ -20,10 +20,7 @@
|
|||
*/
|
||||
|
||||
return [
|
||||
\Monolog\Logger::class => [
|
||||
'instanceOf' => \Friendica\Addon\monolog\src\Factory\Monolog::class,
|
||||
'call' => [
|
||||
['create', [], \Dice\Dice::CHAIN_CALL],
|
||||
],
|
||||
\Friendica\Core\Logger\Factory\LoggerFactory::class => [
|
||||
'instanceOf' => \Friendica\Addon\monolog\src\Factory\MonologFactory::class,
|
||||
],
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue