for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Antidot\Logger\Container;
use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
use WShafer\PSR11MonoLog\MonologFactory as BaseFactory;
class MonologFactory extends BaseFactory
{
public function __invoke(ContainerInterface $container, string $name = 'default'): LoggerInterface
self::$channelName = $name;
return parent::__invoke($container);
}