MCPcopy Index your code
hub / github.com/LabPy/lantz / log_error

Method log_error

lantz/driver.py:315–322  ·  view source on GitHub ↗

Log with the severity 'ERROR' on the logger corresponding to this instrument. :param msg: message to be logged (can contain PEP3101 formatting codes)

(self, msg, *args, **kwargs)

Source from the content-addressed store, hash-verified

313 self.log(logging.DEBUG, msg, *args, **kwargs)
314
315 def log_error(self, msg, *args, **kwargs):
316 """Log with the severity 'ERROR'
317 on the logger corresponding to this instrument.
318
319 :param msg: message to be logged (can contain PEP3101 formatting codes)
320 """
321
322 self.log(logging.ERROR, msg, *args, **kwargs)
323
324 def log_warning(self, msg, *args, **kwargs):
325 """Log with the severity 'WARNING'

Callers 5

getMethod · 0.80
setMethod · 0.80
callMethod · 0.80
__init__Method · 0.80
request_spectraMethod · 0.80

Calls 1

logMethod · 0.95

Tested by

no test coverage detected