pub fn reset()Expand description
Reset tracking state.
Clears all recorded events and resets internal counters. Call this before starting a new tracking session.
§Examples
let _ = track_new("x", 1);
assert!(!get_events().is_empty());
reset();
assert!(get_events().is_empty());§Thread Safety
This function is thread-safe but will clear events from all threads. In multi-threaded tests, use synchronization to ensure reset completes before other threads start tracking.