Add a developer option to log events.
Add a developer option to log events.