Adding logger
Merge pull request #239 from rootcoma/logging

Adding logger