For example:
public class Crucial {
private static final Logger LOG = LoggerFactory.getLogger(Crucial.class);
public void doImportantStuff() {
// warning on this method
}
public void doOtherStuff() {
LOG.info("do other stuff");
}
}
Use the table below to specify Logger class names. Public methods that do not use instance methods of the specified classes will be reported by this inspection.