Inspectopedia
 
2024.3

Class with multiple loggers

Warning
New
Last modified: 03 December 2024

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.

For example:

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.