MCPcopy
hub / github.com/eldraco/domain_analyzer / format

Method format

ansistrm.py:126–133  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

124 return message
125
126 def format(self, record):
127 message = logging.StreamHandler.format(self, record)
128 if self.is_tty:
129 # Don't colorize any traceback
130 parts = message.split('\n', 1)
131 parts[0] = self.colorize(parts[0], record)
132 message = '\n'.join(parts)
133 return message
134
135def main():
136 root = logging.getLogger()

Callers 15

emitMethod · 0.95
crawl_siteFunction · 0.80
crawl_urlFunction · 0.80
verify_linkFunction · 0.80
identify_directoriesFunction · 0.80
directory_indexingFunction · 0.80
fetch_filesFunction · 0.80
fetch_fileFunction · 0.80
printoutFunction · 0.80
print_to_fileFunction · 0.80
mainFunction · 0.80
get_NS_recordsFunction · 0.80

Calls 1

colorizeMethod · 0.95

Tested by

no test coverage detected