e_xbt_log_priority_t logp = xbt_log_priority_verbose;
if (!LOG_ISENABLED(logp))
return;
- LOG1(logp, "Got %lu hosts.", (unsigned long)hosts.size());
+ XBT_LOG(logp, "Got %lu hosts.", (unsigned long)hosts.size());
for (int i = 0; i < nhosts; i++) {
- LOG2(logp, "Host #%d named \"%s\".", i, hosts[i].get_name());
+ XBT_LOG(logp, "Host #%d named \"%s\".", i, hosts[i].get_name());
}
}