util/log: only show fields for span on enter and close

This commit is contained in:
darkfi
2025-11-14 19:07:45 -03:00
parent 810fa61e00
commit 5c3b100b8e
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ impl Drop for PropertyAtomicGuard {
impl std::fmt::Debug for PropertyAtomicGuard {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
f.debug_struct("PropertyAtomicGuard").field("batch_id", &self.batch_id).finish()
write!(f, "@{:?}", self.batch_id)
}
}