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

Method logger

Lib/test/test_syslog.py:65–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 syslog.openlog(f'python-test-{i}') # new string object
64 i += 1
65 def logger():
66 start.wait(10)
67 while not stop:
68 syslog.syslog('test message from python test_syslog')
69
70 orig_si = sys.getswitchinterval()
71 support.setswitchinterval(1e-9)

Callers 1

log_operationMethod · 0.80

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected