Removed extraneous code in Logger class