From fbba835d7efaa4ee1d28bf5c7e2232e53d84af5e Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 5 Jul 2010 09:01:54 +0000 Subject: Remove PRACRO_ prefix from debug macros. --- server/src/journal.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'server/src/journal.cc') diff --git a/server/src/journal.cc b/server/src/journal.cc index 288f7c2..1f79c9f 100644 --- a/server/src/journal.cc +++ b/server/src/journal.cc @@ -44,13 +44,13 @@ void Journal::addEntry(Transaction &transaction, Commit &commit, } if(index >= templ->macros.size()) { - PRACRO_ERR(journal, "Could not find macro %s in template %s\n", - commit.macro.c_str(), templ->attributes["name"].c_str()); + ERR(journal, "Could not find macro %s in template %s\n", + commit.macro.c_str(), templ->attributes["name"].c_str()); // return; } else { - PRACRO_DEBUG(journal, "Found macro %s as index %u in template %s\n", - commit.macro.c_str(), index, - templ->attributes["name"].c_str()); + DEBUG(journal, "Found macro %s as index %u in template %s\n", + commit.macro.c_str(), index, + templ->attributes["name"].c_str()); } if(entrylist.size() == 0) { @@ -58,8 +58,8 @@ void Journal::addEntry(Transaction &transaction, Commit &commit, if(patientID() == "")setPatientID(transaction.cpr); } - PRACRO_DEBUG(journal, "addEntry: template(%s)\n", - templ->attributes["name"].c_str()); + DEBUG(journal, "addEntry: template(%s)\n", + templ->attributes["name"].c_str()); // Test if the username or the cpr has changed... // if so, commit and clear the list. -- cgit v1.2.3