Add logging for the input event

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/input