mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 21:52:48 +07:00
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
21 lines
679 B
HTML
21 lines
679 B
HTML
<html>
|
|
<body>
|
|
Reports classes that have multiple loggers declared.
|
|
Ensuring that every class has a single dedicated logger is an important step in providing a unified logging
|
|
implementation for an application.
|
|
<p>For example:</p>
|
|
<pre><code>
|
|
<b>public class</b> Critical {
|
|
<b>protected static final</b> Logger LOG = Logger.getLogger(Critical.class);
|
|
|
|
<b>protected static final</b> Logger myLogger = Logger.getLogger(getClass());
|
|
}
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>
|
|
Use the table below to specify Logger class names.
|
|
Classes which declare multiple fields that have the type of one of the specified classes will be reported by this inspection.
|
|
<p>
|
|
|
|
</body>
|
|
</html> |