MCPcopy Index your code
hub / github.com/RustPython/RustPython / logger

Method logger

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

Source from the content-addressed store, hash-verified

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

Callers 1

log_operationMethod · 0.80

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected