Add logger to DBA

This commit is contained in:
Philipp Holzer 2019-04-11 08:34:02 +02:00
parent 2a6513436c
commit 780b57c6e4
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
1 changed files with 1 additions and 0 deletions

View File

@ -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);