Skip to content

Commit

Permalink
fix: using dedicated logger instead of root logger
Browse files Browse the repository at this point in the history
  • Loading branch information
kiinami authored and claudep committed Aug 18, 2023
1 parent 7742244 commit 081bc35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svglib/svglib.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def get_shape_from_node(node):
elif isinstance(shape, Path):
return ClippingPath(copy_from=shape)
elif shape:
logging.error("Unsupported shape type %s for clipping", shape.__class__.__name__)
logger.error("Unsupported shape type %s for clipping", shape.__class__.__name__)

def print_unused_attributes(self, node):
if logger.level > logging.DEBUG:
Expand Down

0 comments on commit 081bc35

Please sign in to comment.