MCPcopy Create free account
hub / github.com/Delgan/loguru / function

Function function

tests/test_threading.py:206–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 logger.remove()
205
206 def function():
207 i = logger.add(NonSafeSink(0.1), format="{message}", catch=False)
208 logger.debug("AAA")
209 logger.info("BBB")
210 logger.success("CCC")
211 logger.remove(i)
212
213 threads = [Thread(target=function) for _ in range(10)]
214

Callers 1

catch_wrapperMethod · 0.50

Calls 6

NonSafeSinkClass · 0.85
addMethod · 0.80
debugMethod · 0.80
infoMethod · 0.80
successMethod · 0.80
removeMethod · 0.80

Tested by

no test coverage detected