library/Rediska/Zend/Log/Writer/Redis.php
static public function factory($config)
    {
        $config = self::_parseConfig($config);
        
        if (!isset($config['keyName'])) {
            throw new Zend_Log_Exception('keyName not present');
        }

        if (!isset($config['rediska'])) {
            $config['rediska'] = Rediska::DEFAULT_NAME;
        }

        return new self($config['keyName'], $config['rediska']);
    }
static public function factory($config)
    {
        $config = self::_parseConfig($config);
        
        if (!isset($config['keyName'])) {
            throw new Zend_Log_Exception('keyName not present');
        }

        if (!isset($config['rediska'])) {
            $config['rediska'] = Rediska::DEFAULT_NAME;
        }

        return new self($config['keyName'], $config['rediska']);
    }
Create a new instance of Rediska_Zend_Log_Writer_Redis

@param  array|Zend_Config $config
@return Zend_Log_Writer_Mock
@throws Zend_Log_Exception