Log a message with severity 'ERROR' on the root logger, with exception information. If the logger has no handlers, basicConfig() is called to add a console handler with a pre-defined format.
(msg, *args, exc_info=True, **kwargs)
| 2175 | root.error(msg, *args, **kwargs) |
| 2176 | |
| 2177 | def exception(msg, *args, exc_info=True, **kwargs): |
| 2178 | """ |
| 2179 | Log a message with severity 'ERROR' on the root logger, with exception |
| 2180 | information. If the logger has no handlers, basicConfig() is called to add |
| 2181 | a console handler with a pre-defined format. |
| 2182 | """ |
| 2183 | error(msg, *args, exc_info=exc_info, **kwargs) |
| 2184 | |
| 2185 | def warning(msg, *args, **kwargs): |
| 2186 | """ |
no test coverage detected