Fix : Overriding logger.error

Don't drink and code please! :)
Merge pull request #7 from Seb-Solon/patch-1

Fix : Overriding logger.error