On Fri, Apr 1, 2016 at 6:40 PM, Julian Reschke <[email protected]> wrote:
> Did you benchmark System.currentTimeMillis() as opposed to checking the log
> level?

Well time taken by single isDebugEnabled would always be less than
System.currentTimeMillis()  + isDebugEnabled! In this case it anyway
does not matter much as remote call would have much more overhead.

Suggestion here was more to have a consistent way of doing such things
but not a hard requirement per se ...

Chetan Mehrotra

Reply via email to