summaryrefslogtreecommitdiff
path: root/src/xml.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-30 08:24:37 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:34 -0400
commit3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba (patch)
treedc04c7feaeab4ce255f4f74d47325f4efb9f8314 /src/xml.cc
parent83fc097062c3380091556c6a4b703d28821d5464 (diff)
downloadfork-ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.tar.gz
fork-ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.tar.bz2
fork-ledger-3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba.zip
Changed some of the logging macro names.
Diffstat (limited to 'src/xml.cc')
-rw-r--r--src/xml.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xml.cc b/src/xml.cc
index 448b62b7..e55d9962 100644
--- a/src/xml.cc
+++ b/src/xml.cc
@@ -48,7 +48,7 @@ int document_t::register_name(const string& name)
names.push_back(name);
index = names.size() - 1;
- DEBUG_("xml.lookup", this << " Inserting name: " << names.back());
+ DEBUG("xml.lookup", this << " Inserting name: " << names.back());
std::pair<names_map::iterator, bool> result =
names_index.insert(names_pair(names.back(), index));
@@ -63,7 +63,7 @@ int document_t::lookup_name_id(const string& name) const
if ((id = lookup_builtin_id(name)) != -1)
return id;
- DEBUG_("xml.lookup", this << " Finding name: " << name);
+ DEBUG("xml.lookup", this << " Finding name: " << name);
names_map::const_iterator i = names_index.find(name);
if (i != names_index.end())
@@ -268,7 +268,7 @@ static void startElement(void *userData, const char *name, const char **attrs)
{
document_t::parser_t * parser = static_cast<document_t::parser_t *>(userData);
- DEBUG_("xml.parse", "startElement(" << name << ")");
+ DEBUG("xml.parse", "startElement(" << name << ")");
if (parser->pending) {
parent_node_t * node = create_node<parent_node_t>(parser);
@@ -295,7 +295,7 @@ static void endElement(void *userData, const char *name)
{
document_t::parser_t * parser = static_cast<document_t::parser_t *>(userData);
- DEBUG_("xml.parse", "endElement(" << name << ")");
+ DEBUG("xml.parse", "endElement(" << name << ")");
if (parser->pending) {
terminal_node_t * node = create_node<terminal_node_t>(parser);
@@ -317,7 +317,7 @@ static void dataHandler(void *userData, const char *s, int len)
{
document_t::parser_t * parser = static_cast<document_t::parser_t *>(userData);
- DEBUG_("xml.parse", "dataHandler(" << string(s, len) << ")");
+ DEBUG("xml.parse", "dataHandler(" << string(s, len) << ")");
bool all_whitespace = true;
for (int i = 0; i < len; i++) {