Added custom logger

The logger adds information on which
thread is the message logged
Merge pull request #17 from tehmou/feature/custom-logger

[REVIEW] Added custom logger