While implementing logger, I have to do this tedious job of writing th
While implementing logger, I have to do this tedious job of writing the logger.log(); in all the catch blocks in the code base. Is there any alternative to do the job much more faster and efficiently?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rajanikant HawaldarRank #107 · 20.6K reputationPosted Mar 3, 2021, 4:47 AM EST
Nabin Agarwala196 reputationPosted Mar 3, 2021, 5:21 AM EST
Rajanikant HawaldarRank #107 · 20.6K reputationPosted Mar 3, 2021, 5:26 AM EST
Nabin Agarwala196 reputationPosted Mar 3, 2021, 5:27 AM EST