summaryrefslogtreecommitdiff
path: root/server/src/journal.cc
diff options
context:
space:
mode:
authordeva <deva>2010-07-05 09:01:54 +0000
committerdeva <deva>2010-07-05 09:01:54 +0000
commitfbba835d7efaa4ee1d28bf5c7e2232e53d84af5e (patch)
tree5b71566f174143fea11e21e0c034bd6a1026c03d /server/src/journal.cc
parent71318f4e56dd1467b071404c61f686745cf3dfc4 (diff)
Remove PRACRO_ prefix from debug macros.
Diffstat (limited to 'server/src/journal.cc')
-rw-r--r--server/src/journal.cc14
1 files changed, 7 insertions, 7 deletions
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.