Skip to content

Commit b9d8475

Browse files
committed
Fixing backwards compatibility. This broke wolph/numpy-stl#195
1 parent 1811ff5 commit b9d8475

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

python_utils/logger.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ class Logged(LoggerBase):
8686

8787
logger: logging.Logger
8888

89+
@classmethod
90+
def __get_name(cls, *name_parts: str) -> str:
91+
return cls._LoggerBase__get_name(*name_parts)
92+
8993
def __new__(cls, *args, **kwargs):
9094
cls.logger = logging.getLogger(
9195
cls._LoggerBase__get_name(cls.__module__, cls.__name__)

0 commit comments

Comments
 (0)