MCPcopy Index your code
hub / github.com/dobin/SuperMega / ListHandler

Class ListHandler

log.py:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36class ListHandler(logging.Handler):
37 def emit(self, record):
38 # Format the log record and store it in the list
39 log_entry = self.format(record)
40 observer.add_log(log_entry)
41
42
43def setup_logging(level = logging.DEBUG):

Callers 1

setup_loggingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected