Add logger.
Merge pull request #28 from krtx/master

Add logger.