diff -r 3cf5ee0c3e9f -r aeb98b3fa008 src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Logging/LoggingVisitor.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Logging/LoggingVisitor.py Fri Jun 07 13:58:16 2024 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Logging/LoggingVisitor.py Sun Jun 09 12:59:51 2024 +0200 @@ -226,6 +226,19 @@ self.__error(node.lineno - 1, node.col_offset, "L101") if ( + isinstance(node.func, ast.Attribute) + and node.func.attr in _LoggerMethods + and isinstance(node.func.value, ast.Name) + and self.__loggingName + and node.func.value.id == self.__loggingName + ) or ( + isinstance(node.func, ast.Name) + and node.func.id in _LoggerMethods + and self.__fromImports.get(node.func.id) == "logging" + ): + self.__error(node.lineno - 1, node.col_offset, "L115") + + if ( self.__loggingName and isinstance(node.func, ast.Attribute) and node.func.attr == "getLogger"