Update errorLogger.php

    $this->error = $errorType->getMessage();

Don't set the injected instance to just one method.  What if u later add more methods?  You want access to those!
Merge pull request #1 from BigBad/patch-2

Update errorLogger.php