Skip to content

Commit

Permalink
Use NullLogger:.class for default.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Nov 22, 2023
1 parent ffb4cab commit 3ee2b20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/definitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
declare(strict_types=1);

use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
use Psr\Log\NullLogger;
use Symfony\Component\Console\Application;
use Yiisoft\Definitions\ReferencesArray;
use Yiisoft\Yii\Queue\Cli\LoopInterface;
Expand Down Expand Up @@ -68,4 +70,5 @@
FailureMiddlewareDispatcher::class => [
'__construct()' => ['middlewareDefinitions' => []],
],
LoggerInterface::class => NullLogger::class,
];

0 comments on commit 3ee2b20

Please sign in to comment.