X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/97a4b4dbf628a627e3c2d5689be89265f56074df..a2555a351393901a2e5398707e473cb062eed578:/hostdata.cpp?ds=sidebyside diff --git a/hostdata.cpp b/hostdata.cpp index 8a86eb9..787b7ab 100644 --- a/hostdata.cpp +++ b/hostdata.cpp @@ -36,9 +36,9 @@ void hostdata::create() 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 %zu hosts.", 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()); } }