summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-05-30 20:43:45 -0600
committerJohn Wiegley <johnw@newartisans.com>2010-05-30 20:43:45 -0600
commit58621a96a22de5c1453b7fac624e00dc7f3c402e (patch)
tree70949c463dcafb20e209c30ee8be43d6ff01d8c1 /src/filters.cc
parentd5ea3080a7322730a28009bb3190631f371234db (diff)
downloadfork-ledger-58621a96a22de5c1453b7fac624e00dc7f3c402e.tar.gz
fork-ledger-58621a96a22de5c1453b7fac624e00dc7f3c402e.tar.bz2
fork-ledger-58621a96a22de5c1453b7fac624e00dc7f3c402e.zip
Made several debug categories more consistent
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 6e4aeee3..eabf9834 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -355,7 +355,7 @@ namespace {
if (functor)
(*functor)(post);
- DEBUG("filter.changed_value.rounding", "post.amount = " << post.amount);
+ DEBUG("filters.changed_value.rounding", "post.amount = " << post.amount);
(*handler)(post);
@@ -398,7 +398,7 @@ void collapse_posts::report_subtotal()
xact.payee = last_xact->payee;
xact._date = (is_valid(earliest_date) ?
earliest_date : last_xact->_date);
- DEBUG("filter.collapse", "Pseudo-xact date = " << *xact._date);
+ DEBUG("filters.collapse", "Pseudo-xact date = " << *xact._date);
handle_value(subtotal, &totals_account, &xact, temps, handler);
}
@@ -525,14 +525,14 @@ void changed_value_posts::output_revaluation(post_t& post, const date_t& date)
}
post.xdata().date = date_t();
- DEBUG("filter.changed_value",
- "output_revaluation(last_balance) = " << last_total);
- DEBUG("filter.changed_value",
+ DEBUG("filters.changed_value",
+ "output_revaluation(last_total) = " << last_total);
+ DEBUG("filters.changed_value",
"output_revaluation(repriced_total) = " << repriced_total);
if (! last_total.is_null()) {
if (value_t diff = repriced_total - last_total) {
- DEBUG("filter.changed_value", "output_revaluation(strip(diff)) = "
+ DEBUG("filters.changed_value", "output_revaluation(strip(diff)) = "
<< diff.strip_annotations(report.what_to_keep()));
xact_t& xact = temps.create_xact();
@@ -578,24 +578,24 @@ void changed_value_posts::output_rounding(post_t& post)
bind_scope_t bound_scope(report, post);
value_t new_display_total(display_total_expr.calc(bound_scope));
- DEBUG("filter.changed_value.rounding",
+ DEBUG("filters.changed_value.rounding",
"rounding.new_display_total = " << new_display_total);
if (! last_display_total.is_null()) {
if (value_t repriced_amount = display_amount_expr.calc(bound_scope)) {
- DEBUG("filter.changed_value.rounding",
+ DEBUG("filters.changed_value.rounding",
"rounding.repriced_amount = " << repriced_amount);
value_t precise_display_total(new_display_total.truncated() -
repriced_amount.truncated());
- DEBUG("filter.changed_value.rounding",
+ DEBUG("filters.changed_value.rounding",
"rounding.precise_display_total = " << precise_display_total);
- DEBUG("filter.changed_value.rounding",
+ DEBUG("filters.changed_value.rounding",
"rounding.last_display_total = " << last_display_total);
if (value_t diff = precise_display_total - last_display_total) {
- DEBUG("filter.changed_value.rounding",
+ DEBUG("filters.changed_value.rounding",
"rounding.diff = " << diff);
xact_t& xact = temps.create_xact();