protected function createDailyDriver(array $config): LoggerInterface
    {
        $handler = new RotatingFileHandler(
            $this->getFilePath(),
            $config['days'] ?? 7,
            self::parseLevel($config['level'] ?? 'debug'),
            $config['bubble'] ?? true,
            $config['permission'] ?? null,
            $config['locking'] ?? false
        );
        $handler->setFormatter($this->getConfiguredLineFormatter());

        return new Monolog($this->parseChannel($config), [$handler]);
    }
protected function createDailyDriver(array $config): LoggerInterface
    {
        $handler = new RotatingFileHandler(
            $this->getFilePath(),
            $config['days'] ?? 7,
            self::parseLevel($config['level'] ?? 'debug'),
            $config['bubble'] ?? true,
            $config['permission'] ?? null,
            $config['locking'] ?? false
        );
        $handler->setFormatter($this->getConfiguredLineFormatter());

        return new Monolog($this->parseChannel($config), [$handler]);
    }
protected function createDailyDriver ( array $ config ) : LoggerInterface { $ handler = new RotatingFileHandler ( $ this -> getFilePath ( ) , $ config [ 'days' ] ?? 7 , self :: parseLevel ( $ config [ 'level' ] ?? 'debug' ) , $ config [ 'bubble' ] ?? true , $ config [ 'permission' ] ?? null , $ config [ 'locking' ] ?? false ) ; $ handler -> setFormatter ( $ this -> getConfiguredLineFormatter ( ) ) ; return new Monolog ( $ this -> parseChannel ( $ config ) , [ $ handler ] ) ; }
Create an instance of the daily file log driver.

@param array $config

@throws \InvalidArgumentException

@return \Psr\Log\LoggerInterface
Create an instance of the daily file log driver .