use logger instead of print
cleanup print statement
Merge pull request #98 from niyaton/use-logger

Use logger