#include <iostream>
#include <map>
#include <list>
+#include <yaz/log.h>
#include <boost/shared_ptr.hpp>
if (!m_factory->exist(type_value))
{
- std::cout << "about to load " << type_value << ", path=" <<
- m_dl_path << "\n";
+ yaz_log(YLOG_LOG, "Loading %s (dlpath %s)",
+ type_value.c_str(), m_dl_path.c_str());
m_factory->add_creator_dl(type_value, m_dl_path);
}
mp::filter::Base* filter_base = m_factory->create(type_value);
{
if (!m_factory->exist(type_value))
{
- std::cout << "about to load " << type_value << ", path=" <<
- m_dl_path << "\n";
+ yaz_log(YLOG_LOG, "Loading %s (dlpath %s)",
+ type_value.c_str(), m_dl_path.c_str());
m_factory->add_creator_dl(type_value, m_dl_path);
}
mp::filter::Base* filter_base = m_factory->create(type_value);