add proper logging system
Merge pull request #34 from folieadrien/better-logging

add proper logging system