Log 'msg % args' with severity 'OUTPUT'. To pass exception information, use the keyword argument exc_info with a true value, e.g. logger.warning("Houston, we have a %s", "cli output", exc_info=1)
(self, msg, *args, **kwargs)
| 130 | |
| 131 | # See /usr/lib/python2.5/logging/__init__.py; modified from warning() |
| 132 | def output(self, msg, *args, **kwargs): |
| 133 | """Log 'msg % args' with severity 'OUTPUT'. |
| 134 | |
| 135 | To pass exception information, use the keyword argument exc_info |
| 136 | with a true value, e.g. |
| 137 | |
| 138 | logger.warning("Houston, we have a %s", "cli output", exc_info=1) |
| 139 | """ |
| 140 | if self.manager.disable >= OUTPUT: |
| 141 | return |
| 142 | if self.isEnabledFor(OUTPUT): |
| 143 | self._log(OUTPUT, msg, args, kwargs) |
| 144 | |
| 145 | # pylint: enable=method-hidden |
| 146 |
nothing calls this directly
no outgoing calls
no test coverage detected