Fix typo

Error only triggered when custom logger is set in initializer.
Merge pull request #6 from jrhorn424/patch-1

Fix typo