MCPcopy
hub / github.com/USArmyResearchLab/Dshell / error

Method error

dshell/core.py:214–219  ·  view source on GitHub ↗

Logs msg argument at error level.

(self, msg)

Source from the content-addressed store, hash-verified

212 logger.warning(msg)
213
214 def error(self, msg):
215 """
216 Logs msg argument at error level.
217 """
218 warnings.warn("error() function is deprecated. Please use logging library instead.", DeprecationWarning)
219 logger.warning(msg)
220
221 def __str__(self):
222 return "<{}: {}>".format("Plugin", self.name)

Callers 14

decompress_fileFunction · 0.80
mainFunction · 0.80
read_packetsFunction · 0.80
main_command_lineFunction · 0.80
print_handler_exceptionFunction · 0.80
recompile_bpfMethod · 0.80
premoduleMethod · 0.80
__init__Method · 0.80
blob_handlerMethod · 0.80
packet_handlerMethod · 0.80
premoduleMethod · 0.80
premoduleMethod · 0.80

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected