You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by Dobri Kitipov <kd...@googlemail.com> on 2009/01/22 10:56:46 UTC

Commons logging isFatalEnabled does not make sense

Hi all,
I am interested in using the isFatalEnabled part of the Log class of Commons
logging. The JavaDoc states about it:

"Call this method to prevent having to perform expensive operations (for
example, String concatenation) when the log level is more than fatal. "

but at the other side the same JavaDoc states that the Fatal level is the
highest.
So a question is rising in my mind if this method has any sense?
Can you give me some info about this?

Thank you in advance,
Dobri