more verbose Amount debug output at level 6+
This commit is contained in:
parent
874c467789
commit
21575ed47b
@ -117,9 +117,9 @@ amountstyle = AmountStyle L False 0 '.' ',' []
|
|||||||
|
|
||||||
instance Show Amount where
|
instance Show Amount where
|
||||||
show _a@Amount{..}
|
show _a@Amount{..}
|
||||||
-- debugLevel < 3 = showAmountWithoutPrice a
|
-- debugLevel < 2 = showAmountWithoutPrice a
|
||||||
-- debugLevel < 6 = showAmount a
|
-- debugLevel < 3 = showAmount a
|
||||||
| debugLevel < 9 =
|
| debugLevel < 6 =
|
||||||
printf "Amount {acommodity=%s, aquantity=%s, ..}" (show acommodity) (show aquantity)
|
printf "Amount {acommodity=%s, aquantity=%s, ..}" (show acommodity) (show aquantity)
|
||||||
| otherwise = --showAmountDebug a
|
| otherwise = --showAmountDebug a
|
||||||
printf "Amount {acommodity=%s, aquantity=%s, aprice=%s, astyle=%s}" (show acommodity) (show aquantity) (showPriceDebug aprice) (show astyle)
|
printf "Amount {acommodity=%s, aquantity=%s, aprice=%s, astyle=%s}" (show acommodity) (show aquantity) (showPriceDebug aprice) (show astyle)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user