Added a proper logger.
Merge pull request #1 from max96at/master

Added a logger.