We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a8fa19 commit bf332e5Copy full SHA for bf332e5
selectolax/lexbor/node.pxi
@@ -3,6 +3,8 @@ from cpython.exc cimport PyErr_SetNone
3
4
import logging
5
6
+logger = logging.getLogger("selectolax")
7
+
8
_TAG_TO_NAME = {
9
0x0005: "- doctype",
10
0x0002: "-text",
@@ -459,7 +461,7 @@ cdef class LexborNode:
459
461
"""
460
462
463
if node_is_removed(<lxb_dom_node_t *> self.node) == 1:
- logging.error("Attempt to unwrap removed node. Does nothing.")
464
+ logger.error("Attempt to unwrap removed node. Does nothing.")
465
return
466
467
if self.node.first_child == NULL:
0 commit comments