added code to logging
Merge pull request #17 from voidabhi/develop-logging

added code to logging