Modified code and applied rubocop on logger_ex file.
Merge pull request #27 from kgaikwad/master

Modified code and applied rubocop on logger_ex file.