Commit d623731
authored
Move event traces to detailed_trace! (#7732)
# Objective
Noticed while writing #7728 that we are using `trace!` logs in our event
functions. This has shown to have significant overhead, even trace level
logs are disabled globally, as seen in #7639.
## Solution
Use the `detailed_trace!` macro introduced in #7639. Also removed the
`event_trace` function that was only used in one location.
---
## Changelog
Changed: Event trace logs are now feature gated behind the
`detailed-trace` feature.1 parent 52ee83e commit d623731
1 file changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 422 | | |
427 | 423 | | |
428 | 424 | | |
| |||
459 | 455 | | |
460 | 456 | | |
461 | 457 | | |
462 | | - | |
| 458 | + | |
463 | 459 | | |
464 | 460 | | |
465 | 461 | | |
| |||
513 | 509 | | |
514 | 510 | | |
515 | 511 | | |
516 | | - | |
| 512 | + | |
517 | 513 | | |
518 | 514 | | |
519 | 515 | | |
| |||
654 | 650 | | |
655 | 651 | | |
656 | 652 | | |
657 | | - | |
| 653 | + | |
658 | 654 | | |
659 | 655 | | |
660 | 656 | | |
| |||
0 commit comments