Closed yshrsmz closed 5 years ago
Thank you for your suggestion! I added the function in Napier 0.0.7.
You can remove an antilog by calling Napier.takeLogalitm()
.
Thanks a lot for the quick update!
One quick question, Is takeLogalitm
an intentional name? Quick googling suggests 'logarithm' instead of 'logaritm' 😄
Yes, I noticed after I merged it.😂 Thank you for reporting. I already overwrote.😅
Like Timber's
Timber#uprootAll()
, it would be great if we have an option to remove already-addedAntilog
s.In my case, if I try to use Napier in a Test and the test class has more than one test cases,
Napier.base()
is called multiple times, so sameAntilog
is added multiple times. Thus the same log is printed numerous times.