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

Method log_critical

lantz/driver.py:333–340  ·  view source on GitHub ↗

Log with the severity 'CRITICAL' 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

331 self.log(logging.WARNING, msg, *args, **kwargs)
332
333 def log_critical(self, msg, *args, **kwargs):
334 """Log with the severity 'CRITICAL'
335 on the logger corresponding to this instrument.
336
337 :param msg: message to be logged (can contain PEP3101 formatting codes)
338 """
339
340 self.log(logging.CRITICAL, msg, *args, **kwargs)
341
342 def __str__(self):
343 classname = self.__class__.__name__

Callers

nothing calls this directly

Calls 1

logMethod · 0.95

Tested by

no test coverage detected