Skip to content

Commit

Permalink
Fix settings passthrough to LoggerFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcHagen authored Jan 19, 2023
1 parent ef05450 commit b338844
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions config/container.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,7 @@
LoggerFactory::class => function (ContainerInterface $container) {
$settings = $container->get('settings')['logger'];

return new LoggerFactory(
$settings['level'] ?? Level::Debug,
$settings['path'] ?? 'vfs://root/logs',
$settings['test'] ?? null
);
return new LoggerFactory($settings);
},

BasePathMiddleware::class => function (ContainerInterface $container) {
Expand Down

0 comments on commit b338844

Please sign in to comment.