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)
| 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__ |