Remove built in logToFile method from Hook