mirror of
https://github.com/friendica/friendica
synced 2024-05-21 15:26:44 +02:00
Add logger to DBA
This commit is contained in:
parent
2a6513436c
commit
780b57c6e4
|
@ -33,6 +33,7 @@ class DependencyFactory
|
||||||
// needed to call PConfig::init()
|
// needed to call PConfig::init()
|
||||||
Factory\ConfigFactory::createPConfig($configCache);
|
Factory\ConfigFactory::createPConfig($configCache);
|
||||||
$logger = Factory\LoggerFactory::create($channel, $config, $profiler);
|
$logger = Factory\LoggerFactory::create($channel, $config, $profiler);
|
||||||
|
$database->setLogger($logger);
|
||||||
Factory\LoggerFactory::createDev($channel, $config, $profiler);
|
Factory\LoggerFactory::createDev($channel, $config, $profiler);
|
||||||
|
|
||||||
return new App($config, $mode, $router, $logger, $profiler, $database, $isBackend);
|
return new App($config, $mode, $router, $logger, $profiler, $database, $isBackend);
|
||||||
|
|
Loading…
Reference in a new issue