Refactor LogEntryParser, update comments