added basic logging
Merge pull request #3 from wikier/master

added basic logging