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

Method warn

dshell/core.py:207–212  ·  view source on GitHub ↗

Logs msg argument at warning level

(self, msg)

Source from the content-addressed store, hash-verified

205 logger.debug(msg)
206
207 def warn(self, msg):
208 """
209 Logs msg argument at warning level
210 """
211 warnings.warn("warn() function is deprecated. Please use logging library instead.", DeprecationWarning)
212 logger.warning(msg)
213
214 def error(self, msg):
215 """

Callers 8

logMethod · 0.80
debugMethod · 0.80
errorMethod · 0.80
all_packetsMethod · 0.80
logMethod · 0.80
alertMethod · 0.80
dumpMethod · 0.80
premoduleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected