MCPcopy Create free account
hub / github.com/Sin3DM/Sin3DM / reset

Function reset

src/diffusion/logger.py:479–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477
478
479def reset():
480 if Logger.CURRENT is not Logger.DEFAULT:
481 Logger.CURRENT.close()
482 Logger.CURRENT = Logger.DEFAULT
483 log("Reset logger")
484
485
486@contextmanager

Callers

nothing calls this directly

Calls 2

logFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected