Use debug instead of puts to log.
Added documentation for logger
Merge pull request #8 from rocketstudio/logger

Use Ruby Logger class for logging.