From 3ba6c2572dfc58bcd963cbc8cac1cce2f5b01dba Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 30 Apr 2007 08:24:37 +0000 Subject: Changed some of the logging macro names. --- src/ofx.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ofx.cc') diff --git a/src/ofx.cc b/src/ofx.cc index f0bce1f2..7ac95e8d 100644 --- a/src/ofx.cc +++ b/src/ofx.cc @@ -23,7 +23,7 @@ int ofx_proc_account_cb(struct OfxAccountData data, void * account_data) if (! data.account_id_valid) return -1; - DEBUG_("ledger.ofx.parse", "account " << data.account_name); + DEBUG("ledger.ofx.parse", "account " << data.account_name); account_t * account = new account_t(master_account, data.account_name); curr_journal->add_account(account); ofx_accounts.insert(accounts_pair(data.account_id, account)); @@ -80,7 +80,7 @@ int ofx_proc_transaction_cb(struct OfxTransactionData data, xact->cost = new amount_t(stream.str()); } - DEBUG_("ofx.parse", "xact " << xact->amount << " from " << *xact->account); + DEBUG("ofx.parse", "xact " << xact->amount << " from " << *xact->account); if (data.date_initiated_valid) entry->_date = data.date_initiated; @@ -141,13 +141,13 @@ int ofx_proc_security_cb(struct OfxSecurityData data, void * security_data) commodities_map::iterator i = ofx_securities.find(data.unique_id); if (i == ofx_securities.end()) { - DEBUG_("ledger.ofx.parse", "security " << symbol); + DEBUG("ledger.ofx.parse", "security " << symbol); ofx_securities.insert(commodities_pair(data.unique_id, commodity)); } // jww (2005-02-09): What is the commodity for data.unitprice? if (data.date_unitprice_valid && data.unitprice_valid) { - DEBUG_("ledger.ofx.parse", " price " << data.unitprice); + DEBUG("ledger.ofx.parse", " price " << data.unitprice); commodity->add_price(data.date_unitprice, amount_t(data.unitprice)); } -- cgit v1.2.3