Responded to PR feedback:
- Changed setting location to use $HOME.
- Added location of anonymous id.
- Added info on how to import TelemetryLogger.
- Error object was originally meant to be pseudocode but it looks too much like an object, changed to typescript.
Signed-off-by: Tim deBoer <git@tdeboer.ca>
The telemetry investigation in #3788 led to a couple issues being opened to improve
the events we're sending, but one of the comments was that we don't really have this
written down anywhere.
Some other projects contain a USAGE_DATA.md file, so this is my attempt to both
write down what we collect and why for users, but also start some coding notes for
committers. Feedback appreciated.
Fixes#3788.
Signed-off-by: Tim deBoer <git@tdeboer.ca>