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)
| 2108 | root.error(msg, *args, **kwargs) |
| 2109 | |
| 2110 | def exception(msg, *args, exc_info=True, **kwargs): |
| 2111 | """ |
| 2112 | Log a message with severity 'ERROR' on the root logger, with exception |
| 2113 | information. If the logger has no handlers, basicConfig() is called to add |
| 2114 | a console handler with a pre-defined format. |
| 2115 | """ |
| 2116 | error(msg, *args, exc_info=exc_info, **kwargs) |
| 2117 | |
| 2118 | def warning(msg, *args, **kwargs): |
| 2119 | """ |
no test coverage detected