//! The method returns the filter factory for the specified attribute name
 filter_factory_type& get_factory(attribute_name const& name) const
 {
     typename factories_map::const_iterator it = m_Map.find(name);
     if (it != m_Map.end())
         return *it->second;
     else
         return m_DefaultFactory;
 }
    //! The method returns the filter factory for the specified attribute name
    formatter_factory_type& get_factory(attribute_name const& name) const
    {
        typename factories_map::const_iterator it = m_Map.find(name);
        if (it != m_Map.end())
        {
            return *it->second;
        }
        else
        {
#if !defined(BOOST_LOG_WITHOUT_DEFAULT_FACTORIES)
            return m_DefaultFactory;
#else
            BOOST_LOG_THROW_DESCR(setup_error, "No formatter factory registered for attribute " + name.string());
#endif
        }
    }