Moving Profiling to class

This commit is contained in:
Philipp Holzer 2019-02-28 09:41:31 +01:00 committed by Hypolite Petovan
parent 4810ca570f
commit 25b6db6aca
9 changed files with 214 additions and 481 deletions

View file

@ -30,7 +30,7 @@ class DependencyFactory
$config = Factory\ConfigFactory::createConfig($configCache);
// needed to call PConfig::init()
Factory\ConfigFactory::createPConfig($configCache);
$logger = Factory\LoggerFactory::create($channel, $config);
$logger = Factory\LoggerFactory::create($channel, $config, $profiler);
Factory\LoggerFactory::createDev($channel, $config);
return new App($basePath, $config, $logger, $profiler, $isBackend);