Fixes #25

Adds logging support using logger class