gnucash maint: Revert "completion redefine gnc:debug" and fix some bugs in it
Mike Alexander
mta at code.gnucash.org
Sat Mar 7 23:53:18 EST 2020
Updated via https://github.com/Gnucash/gnucash/commit/4318f7a3 (commit)
from https://github.com/Gnucash/gnucash/commit/55921000 (commit)
commit 4318f7a3c7825aedab87b32b27601f67983343e0
Author: Mike Alexander <mta at umich.edu>
Date: Fri Mar 6 03:31:59 2020 -0500
Revert "completion redefine gnc:debug" and fix some bugs in it
This change made it impossible to turn debug output on or off on the
fly by calling qof-log-set-level from Scheme code. The optimization
achieved isn't all that great either since the arguements to
gnc:debug are still evaluated when debugging is off and this is
where a lot of the overhead is. Even without this change the call to
strify is avoided.
Also fixed the parameters of qof-log-check:
"gmc" => "gnc.scm"
G-LOG-LEVEL-DEBUG => QOF-LOG-DEBUG
This reverts commit b3a4cd62775705b2543438f912ca71dad591bf0e.
Summary of changes:
libgnucash/scm/utilities.scm | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
More information about the gnucash-patches
mailing list