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 77220ed commit 92a3e45Copy full SHA for 92a3e45
aliyun-python-sdk-core/aliyunsdkcore/__init__.py
@@ -1,4 +1,11 @@
1
__version__ = "2.12.1"
2
3
import logging
4
-logging.getLogger('aliyunsdkcore').addHandler(logging.NullHandler())
+
5
6
+class NullHandler(logging.Handler):
7
+ def emit(self, record):
8
+ pass
9
10
11
+logging.getLogger('aliyunsdkcore').addHandler(NullHandler())
0 commit comments