Added Logging.
Merge pull request #5 from BWOC/dev

Added Logging.