Use newly renamed logging method. Fix checkInput invocation