mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-17 08:06:38 +00:00
Improve derbugg logging
Make it more readable Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
a2d2c5d85c
commit
87682985d2
10 changed files with 54 additions and 15 deletions
|
@ -165,7 +165,12 @@ impl Client {
|
|||
///
|
||||
/// Return `Ok(ControlFlow::Break(response))` when succeeds and no need
|
||||
/// to retry.
|
||||
#[instrument]
|
||||
#[instrument(
|
||||
skip(self, url),
|
||||
fields(
|
||||
url = format_args!("{url}"),
|
||||
),
|
||||
)]
|
||||
async fn do_send_request(
|
||||
&self,
|
||||
request: Request,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue