Pool::~Pool ()
{
-#ifndef NDEBUG
- // TODO: after collecting some stats, use DEBUG::PoolStats here
- cerr << "Pool: '" << _name << "' max: " << max_usage << " / " << total() << endmsg;
-#endif
+ DEBUG_TRACE (DEBUG::Pool, string_compose ("Pool: '%1' max: %2 / %3", name(), max_usage, total()));
free (block);
}