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 c3f92f6 commit 772a742Copy full SHA for 772a742
Lib/multiprocessing/util.py
@@ -43,19 +43,19 @@
43
44
def sub_debug(msg, *args):
45
if _logger:
46
- _logger.log(SUBDEBUG, msg, *args)
+ _logger.log(SUBDEBUG, msg, *args, stacklevel=2)
47
48
def debug(msg, *args):
49
50
- _logger.log(DEBUG, msg, *args)
+ _logger.log(DEBUG, msg, *args, stacklevel=2)
51
52
def info(msg, *args):
53
54
- _logger.log(INFO, msg, *args)
+ _logger.log(INFO, msg, *args, stacklevel=2)
55
56
def sub_warning(msg, *args):
57
58
- _logger.log(SUBWARNING, msg, *args)
+ _logger.log(SUBWARNING, msg, *args, stacklevel=2)
59
60
def get_logger():
61
'''
0 commit comments