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