Skip to content

Commit

Permalink
fix: make_child_logger only takes 2 args. (#1603)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <[email protected]>
  • Loading branch information
MaxJPRey and pyansys-ci-bot authored Dec 27, 2024
1 parent b23dcf0 commit 15ef7cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/changelog.d/1603.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
make_child_logger only takes 2 args.
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def add_child_logger(self, suffix: str, level: str | None = None):
Logger class.
"""
name = self.logger.name + "." + suffix
self._instances[name] = self._make_child_logger(self, name, level)
self._instances[name] = self._make_child_logger(name, level)
return self._instances[name]

def add_instance_logger(
Expand Down

0 comments on commit 15ef7cf

Please sign in to comment.