Logging
- 'public' method without logging
Reports any public methods that do not contain a logging statement.
- Class with multiple loggers
Reports classes that have multiple loggers declared.
- Class without logger
Reports classes which do not have a declared logger.
- Logger initialized with foreign class
Reports Logger instances that are initialized with a class literal from a different class than the Logger is contained in.
- Non-constant logger
Reports logger fields that are not declared static and/or final.
- Non-constant string concatenation as argument to logging call
Reports non-constant string concatenations that are used as arguments to SLF4J and Log4j 2 logging methods.
Last modified: 11 September 2024