Added logger support
Merge pull request #16 from rkophs/logger2

Added logger support