xmr-btc-swap/swap/src
Thomas Eizinger 9119ce5cc4
Tidy up log messages across the codebase
1. Clearly separate the log messages from any fields that are
captured. The log message itself should be meaningful because it
depends on the underlying formatter, how/if the fields are displayed.
2. Some log messages had very little context, expand that.
3. Wording of errors was inconsistent, hopefully all errors should
now start with `Failed to ...`.
4. Some log messages were duplicated across multiple layers (like opening
the database).
5. Some log messages were split into two where one part is now an `error!`
and the 2nd part is an `info!` on what is happening next.
6. Where appropriate, punctuation has been removed to not interrupt
the reader's flow.
2021-07-07 16:02:00 +10:00
..
asb Tidy up log messages across the codebase 2021-07-07 16:02:00 +10:00
bin Tidy up log messages across the codebase 2021-07-07 16:02:00 +10:00
bitcoin Tidy up log messages across the codebase 2021-07-07 16:02:00 +10:00
cli Store Monero receive address in database and load it on resume 2021-07-06 20:08:24 +10:00
database Add a mandatory --change-address parameter to buy-xmr 2021-07-06 20:07:53 +10:00
monero Tidy up log messages across the codebase 2021-07-07 16:02:00 +10:00
network Tidy up log messages across the codebase 2021-07-07 16:02:00 +10:00
protocol Tidy up log messages across the codebase 2021-07-07 16:02:00 +10:00
asb.rs Add isolated test for list_sellers function 2021-07-06 20:03:53 +10:00
bitcoin.rs swap_setup instead of spot_price and execution_setup 2021-06-28 10:04:07 +10:00
cli.rs Add isolated test for list_sellers function 2021-07-06 20:03:53 +10:00
database.rs Store Monero receive address in database and load it on resume 2021-07-06 20:08:24 +10:00
env.rs ASB aborts if CLI does not lock BTC 2021-06-23 17:54:42 +10:00
fs.rs Improve logging by adding details as fields instead of into the msg. 2021-05-11 15:27:53 +10:00
kraken.rs Make price ticker ws url configurable 2021-06-28 03:19:49 -07:00
lib.rs Merge --seller-addr and --seller-peer-id into --seller parameter 2021-07-06 14:51:08 +10:00
libp2p_ext.rs Merge --seller-addr and --seller-peer-id into --seller parameter 2021-07-06 14:51:08 +10:00
monero_ext.rs Upgrade to bdk 4.0 2021-02-19 15:18:37 +11:00
monero.rs swap_setup instead of spot_price and execution_setup 2021-06-28 10:04:07 +10:00
network.rs Add the list-sellers command to the CLI 2021-07-06 20:03:18 +10:00
protocol.rs Dynamically chose fee for TxCancel. 2021-05-07 10:24:41 +10:00
seed.rs Tidy up log messages across the codebase 2021-07-07 16:02:00 +10:00
tor.rs Make use of torut's errors implementing std::error::Error 2021-07-06 14:46:00 +10:00