blob: 417de23486e8d232cc194ee1679ea4628a0cb65c [file] [log] [blame]
<html>
<body>
Reports <em>is log enabled for</em> conditions of if statements which
do not match the log level of the contained logging call.
<p>
For example:
<code><pre>
<b>if</b> (logger.isTraceEnabled()) {
logger.debug("some log message");
}
</pre></code>
<p>This inspection understands the <i>java.util</i>, <i>log4j</i>, <i>commons-logging</i> and <i>slf4j</i> logging frameworks.
<!-- tooltip end -->
<p>
</body>
</html>