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

Method close

Lib/logging/handlers.py:1215–1226  ·  view source on GitHub ↗

Clean up this handler. You can remove the application name from the registry as a source of event log entries. However, if you do this, you will not be able to see the events as you intended in the Event Log Viewer - it needs to be able to access the registr

(self)

Source from the content-addressed store, hash-verified

1213 self.handleError(record)
1214
1215 def close(self):
1216 """
1217 Clean up this handler.
1218
1219 You can remove the application name from the registry as a
1220 source of event log entries. However, if you do this, you will
1221 not be able to see the events as you intended in the Event Log
1222 Viewer - it needs to be able to access the registry to get the
1223 DLL name.
1224 """
1225 #self._welu.RemoveSourceFromRegistry(self.appname, self.logtype)
1226 logging.Handler.close(self)
1227
1228class HTTPHandler(logging.Handler):
1229 """

Callers 1

test_basicMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by 1

test_basicMethod · 0.76