only print to clog when MAPNIK_DEBUG is defined
This commit is contained in:
parent
7b73a701b2
commit
30968b337e
1 changed files with 4 additions and 2 deletions
|
@ -92,12 +92,14 @@ namespace mapnik
|
|||
throw std::runtime_error(string("Cannot load symbols: ") +
|
||||
lt_dlerror());
|
||||
}
|
||||
std::cout << "size = " << params.size() << "\n";
|
||||
#ifdef MAPNIK_DEBUG
|
||||
std::clog << "size = " << params.size() << "\n";
|
||||
parameters::const_iterator i = params.begin();
|
||||
for (;i!=params.end();++i)
|
||||
{
|
||||
std::cout << i->first << "=" << i->second << "\n";
|
||||
std::clog << i->first << "=" << i->second << "\n";
|
||||
}
|
||||
#endif
|
||||
ds=datasource_ptr(create_datasource(params), datasource_deleter());
|
||||
|
||||
#ifdef MAPNIK_DEBUG
|
||||
|
|
Loading…
Add table
Reference in a new issue