diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2014-07-01 14:14:23 -0400 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-07-01 14:14:23 -0400 |
commit | 746ca1fe6d15528b444f35e6a65d3c93e4976894 (patch) | |
tree | ba9ee972ca3e874d06fa8dd53d1bd84bf6c12fd4 /src/iterators.cc | |
parent | 1c6e7f410b62e7d8289992600d2f5b289a214290 (diff) | |
download | fork-ledger-746ca1fe6d15528b444f35e6a65d3c93e4976894.tar.gz fork-ledger-746ca1fe6d15528b444f35e6a65d3c93e4976894.tar.bz2 fork-ledger-746ca1fe6d15528b444f35e6a65d3c93e4976894.zip |
Unify debugging categories
Debugging categories follow the filename, which in this case is singular
(rather than plural) "account" and "amount".
Diffstat (limited to 'src/iterators.cc')
-rw-r--r-- | src/iterators.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/iterators.cc b/src/iterators.cc index f02c5f04..fd6cde69 100644 --- a/src/iterators.cc +++ b/src/iterators.cc @@ -204,9 +204,9 @@ void sorted_accounts_iterator::push_back(account_t& account) compare_items<account_t>(sort_cmp)); #if DEBUG_ON - if (SHOW_DEBUG("accounts.sorted")) { + if (SHOW_DEBUG("account.sorted")) { foreach (account_t * acct, accounts_list.back()) - DEBUG("accounts.sorted", + DEBUG("account.sorted", "Account (flat): " << acct->fullname()); } #endif @@ -237,9 +237,9 @@ void sorted_accounts_iterator::sort_accounts(account_t& account, compare_items<account_t>(sort_cmp)); #if DEBUG_ON - if (SHOW_DEBUG("accounts.sorted")) { + if (SHOW_DEBUG("account.sorted")) { foreach (account_t * acct, deque) - DEBUG("accounts.sorted", "Account: " << acct->fullname()); + DEBUG("account.sorted", "Account: " << acct->fullname()); } #endif } |