Better logger design
Merge pull request #2 from kirs/patch-2

Better logger design