Inspectopedia Help

Logging

'public' method without logging   New in this release

Reports any public methods that do not contain a logging statement.

Class with multiple loggers   New in this release

Reports classes that have multiple loggers declared.

Class without logger   New in this release

Reports classes which do not have a declared logger.

Logger initialized with foreign class   New in this release

Reports Logger instances that are initialized with a class literal from a different class than the Logger is contained in.

Non-constant logger   New in this release

Reports logger fields that are not declared static and/or final.

Non-constant string concatenation as argument to logging call   New in this release

Reports non-constant string concatenations that are used as arguments to SLF4J and Log4j 2 logging methods.

Last modified: 11 September 2024