A toddler has been taken to hospital with facial injuries after a horror dog attack.