In LoggingUtils class added comments and reformatted code.