Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
class
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
43
def
setup_logging(level = logging.DEBUG):
Callers
1
setup_logging
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected