I didn't click but thought "why would you want to log your mouse movements? Analyze them to what end? I suppose you could automate or infer something from the trails? Number of clicks? Keyboard to mouse frequency, time spent.
Then started working though the logging, insights while reading the comments.
Pressure sensitive mouse buttons may be helpful. Same with haptic feedback when dragging over heavier buttons.