configurable logging
Merge pull request #14 from Kallin/logging

configurable logging