src/Leevel/Log/Manager.php
protected function createConnect(object $connect): object
    {
        return new Log($connect,
            $this->getCommonOption(),
            $this->container->make(IDispatch::class)
        );
    }
protected function createConnect(object $connect): object
    {
        return new Log($connect,
            $this->getCommonOption(),
            $this->container->make(IDispatch::class)
        );
    }
创建连接对象

@param object $connect

@return object