MCPcopy Index your code
hub / github.com/python/cpython / get_logger

Method get_logger

Lib/multiprocessing/context.py:158–163  ·  view source on GitHub ↗

Return package logger -- if it does not already exist then it is created.

(self)

Source from the content-addressed store, hash-verified

156 freeze_support()
157
158 def get_logger(self):
159 '''Return package logger -- if it does not already exist then
160 it is created.
161 '''
162 from .util import get_logger
163 return get_logger()
164
165 def log_to_stderr(self, level=None):
166 '''Turn on logging and add a handler which prints to stderr'''

Callers 6

test_enable_loggingMethod · 0.80
_test_levelMethod · 0.80
test_levelMethod · 0.80
test_filenameMethod · 0.80
setUpModuleFunction · 0.80
prepareFunction · 0.80

Calls 1

get_loggerFunction · 0.85

Tested by 5

test_enable_loggingMethod · 0.64
_test_levelMethod · 0.64
test_levelMethod · 0.64
test_filenameMethod · 0.64
setUpModuleFunction · 0.64