MCPcopy
hub / github.com/deadc0de6/dotdrop / warn

Method warn

dotdrop/logger.py:63–67  ·  view source on GitHub ↗

warning log

(self, string, end='\n')

Source from the content-addressed store, hash-verified

61 sys.stderr.write(f'{cstart}[ERR] {msg}{cend}')
62
63 def warn(self, string, end='\n'):
64 """warning log"""
65 cstart = self._color(self.YELLOW)
66 cend = self._color(self.RESET)
67 sys.stderr.write(f'{cstart}[WARN] {string} {end}{cend}')
68
69 def dbg(self, string, force=False):
70 """debug log"""

Callers 15

_is_templateMethod · 0.80
_show_patchMethod · 0.80
_handle_fileMethod · 0.80
_handle_dirMethod · 0.80
__init__Method · 0.80
_import_in_configMethod · 0.80
_ignoreMethod · 0.80
removepathFunction · 0.80
_must_ignoreFunction · 0.80
dependencies_metFunction · 0.80
adapt_workersFunction · 0.80
check_versionFunction · 0.80

Calls 1

_colorMethod · 0.95

Tested by

no test coverage detected