in debug mode, also log hledger calls