'public' method without logging
Reports any public methods that do not contain a logging statement. This inspection does not report simple getters and setters.
For example:
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
PublicMethodWithoutLogging- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
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.
Inspection options
Here you can find the description of settings available for the 'public' method without logging inspection, and the reference of their default values.
- Logger class names
[java.util.logging.Logger, org.slf4j.Logger, org.apache.commons.logging.Log, org.apache.log4j.Logger, org.apache.logging.log4j.Logger]
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |