Skip to main content
Vasanth's user avatar
Vasanth's user avatar
Vasanth's user avatar
Vasanth
  • Member for 9 years, 1 month
  • Last seen more than a month ago
  • Lake Oswego, OR, USA
awarded
awarded
revised
Loading…
Loading…
comment
User details logging
@mtj i have removed the parameter.
comment
User details logging
@greybeard please ignore that , that is typo , i just mock it manually for review.
comment
User details logging
@Zeta I am not changed the question , I am just re-frame the question and added some more method for clear understanding .
revised
User details logging
added 101 characters in body; edited title
Loading…
revised
User details logging
[Edit removed during grace period]
Loading…
revised
User details logging
added 2197 characters in body
Loading…
comment
User details logging
Its correct for single field ie firstName, If we apply this method ie createLogs() for more then one fields (last name, DOB,city, state,zip code) - there should be mapping, So question is how i can write the Generic method to receive the field name,field value ,error code ,message , transaction id ,status ? these arguments may grow or shrink based on validation pass or failure . Please refer the code
comment
User details logging
@mtj it will populate only n key and value pair , I will not add it after that
comment
User details logging
@marc I changed to >
revised
User details logging
edited body
Loading…
comment
User details logging
Adding key value combination in hashmap and logging will be the same for validation success Or failure. Only key and value will be change... is there any way to write this code in jeneric method to avoid duplication of code?
asked
Loading…
awarded
awarded
awarded
accepted