Remove (nearly all) Logger usages.
Fix compile error.
Fix unit test.
Merge pull request #185 from greboid/errors

Remove (nearly all) Logger usages.