mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-12 19:08:34 +03:00
lib: don't count periodic/modifier txns in Journal debug output
This commit is contained in:
parent
fc3a71bc46
commit
4d562ef068
@ -119,22 +119,16 @@ instance Show Journal where
|
|||||||
show j
|
show j
|
||||||
| debugLevel < 3 = printf "Journal %s with %d transactions, %d accounts"
|
| debugLevel < 3 = printf "Journal %s with %d transactions, %d accounts"
|
||||||
(journalFilePath j)
|
(journalFilePath j)
|
||||||
(length (jtxns j) +
|
(length $ jtxns j)
|
||||||
length (jmodifiertxns j) +
|
|
||||||
length (jperiodictxns j))
|
|
||||||
(length accounts)
|
(length accounts)
|
||||||
| debugLevel < 6 = printf "Journal %s with %d transactions, %d accounts: %s"
|
| debugLevel < 6 = printf "Journal %s with %d transactions, %d accounts: %s"
|
||||||
(journalFilePath j)
|
(journalFilePath j)
|
||||||
(length (jtxns j) +
|
(length $ jtxns j)
|
||||||
length (jmodifiertxns j) +
|
|
||||||
length (jperiodictxns j))
|
|
||||||
(length accounts)
|
(length accounts)
|
||||||
(show accounts)
|
(show accounts)
|
||||||
| otherwise = printf "Journal %s with %d transactions, %d accounts: %s, commodity styles: %s"
|
| otherwise = printf "Journal %s with %d transactions, %d accounts: %s, commodity styles: %s"
|
||||||
(journalFilePath j)
|
(journalFilePath j)
|
||||||
(length (jtxns j) +
|
(length $ jtxns j)
|
||||||
length (jmodifiertxns j) +
|
|
||||||
length (jperiodictxns j))
|
|
||||||
(length accounts)
|
(length accounts)
|
||||||
(show accounts)
|
(show accounts)
|
||||||
(show $ jinferredcommodities j)
|
(show $ jinferredcommodities j)
|
||||||
|
Loading…
Reference in New Issue
Block a user