mirror of
https://github.com/simonmichael/hledger.git
synced 2025-01-07 11:19:32 +03:00
3cf53661f3
The debug level set by `--debug[=N]` is now available to pure and startup code as debugLevel, using unsafePerformIO. `dbg LABEL ...` is now the go-to helper for tracing values on the console; it produces output when the debug level is non-zero. `dbgExit` is similar but exits immediately, avoiding further output. The `dbgshow`, `dbgppshow` and `dbgpprint` variants allow control over the pretty-printing method and required debug level, allowing more control over what is displayed when. Other cleanups: lstrace -> ltrace, pdbgAt -> pdbg, tracewith -> traceWith. |
||
---|---|---|
.. | ||
Data | ||
Read | ||
Utils | ||
Data.hs | ||
Query.hs | ||
Read.hs | ||
Reports.hs | ||
Utils.hs |