MCPcopy
hub / github.com/OpenPPL/ppq / error

Method error

ppq/log/logger.py:119–127  ·  view source on GitHub ↗
(self, msg:str)

Source from the content-addressed store, hash-verified

117 handler.process(print_msg, LEVEL.WARNING)
118
119 def error(self, msg:str):
120 header = self.wrap_header('ERROR')
121 print_msg = R_BEGIN + header + COLOR_END + msg
122
123 for handler in self._handlers.values():
124 if handler._file_name is not None:
125 handler.process(msg, LEVEL.ERROR)
126 else:
127 handler.process(print_msg, LEVEL.ERROR)
128
129 def debug(self, msg: str):
130 header = self.wrap_header('DEBUG')

Callers 8

create_networkMethod · 0.80
create_networkMethod · 0.80
buildMethod · 0.80
transMethod · 0.80
get_attrMethod · 0.80
set_attrMethod · 0.80
set_attrMethod · 0.80
set_attrMethod · 0.80

Calls 2

wrap_headerMethod · 0.95
processMethod · 0.45

Tested by

no test coverage detected