use logging subsystem instead of print
Merge pull request #2 from BeneDicere/master

use logging subsystem instead of print