logs
This commit is contained in:
parent
c5a73f1d4f
commit
5912cbe4c2
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ macro_rules! timeit {
|
|||
let start = std::time::Instant::now();
|
||||
let r = $op;
|
||||
let elapsed = start.elapsed();
|
||||
tracing::debug!(name = $name, $($rest),*, ?elapsed, "timeit");
|
||||
tracing::debug!(name = $name, $($rest),*, elapsed_ms=elapsed.as_millis(), "timeit");
|
||||
r
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue