Added logging
Merge pull request #3 from Anton-Shutik/master

Added logging