mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-13 00:17:15 +00:00
less chatty logging
This commit is contained in:
parent
696246af7f
commit
5c7e8f47a8
1 changed files with 7 additions and 0 deletions
|
@ -136,6 +136,13 @@ impl fmt::Debug for Event {
|
|||
return debug_verbose_not(not, f);
|
||||
}
|
||||
}
|
||||
Event::Task(Task::Respond(resp)) => {
|
||||
return f
|
||||
.debug_struct("RawResponse")
|
||||
.field("id", &resp.id)
|
||||
.field("error", &resp.error)
|
||||
.finish();
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
match self {
|
||||
|
|
Loading…
Reference in a new issue