Skip to content

Commit 15ef7cf

Browse files
fix: make_child_logger only takes 2 args. (#1603)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent b23dcf0 commit 15ef7cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/changelog.d/1603.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
make_child_logger only takes 2 args.

src/ansys/geometry/core/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def add_child_logger(self, suffix: str, level: str | None = None):
499499
Logger class.
500500
"""
501501
name = self.logger.name + "." + suffix
502-
self._instances[name] = self._make_child_logger(self, name, level)
502+
self._instances[name] = self._make_child_logger(name, level)
503503
return self._instances[name]
504504

505505
def add_instance_logger(

0 commit comments

Comments
 (0)