set Logger

This commit is contained in:
Philipp Holzer 2019-04-14 18:42:36 +02:00
parent d94eca59b5
commit d7138c967c
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,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);
$baseURL = new BaseURL($config, $_SERVER);