Inherit from BaseInputConnection instead of implementing InputConnection as requested.
logging