MCPcopy Create free account
hub / github.com/Tencent/NeuralNLP-NeuralClassifier / error

Method error

util.py:94–99  ·  view source on GitHub ↗

Log error message msg: Message to log

(msg)

Source from the content-addressed store, hash-verified

92
93 @staticmethod
94 def error(msg):
95 """Log error message
96 msg: Message to log
97 """
98 logging.error(msg)
99 sys.stderr.write(msg + "\n")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected