mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
util/log: only show fields for span on enter and close
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user