We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ddfe75 commit 77a0087Copy full SHA for 77a0087
python/ql/test/library-tests/frameworks/stdlib/Logging.py
@@ -43,3 +43,12 @@ class MyLogger(logging.Logger):
43
pass
44
45
MyLogger("bar").info("hello") # $ loggingInput="hello"
46
+
47
+class CustomLogger(logging.getLoggerClass()):
48
+ pass
49
50
+CustomLogger("baz").info("hello") # $ loggingInput="hello"
51
52
+class LoggerSubClassUsingSelf(logging.Logger):
53
+ def foo(self):
54
+ self.info("hello") # $ loggingInput="hello"
0 commit comments