Log a message with severity 'ERROR' on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.
(msg, *args, **kwargs)
| 2 | |
| 3 | |
| 4 | def error(msg, *args, **kwargs): |
| 5 | """ |
| 6 | Log a message with severity 'ERROR' on the root logger. If the logger has |
| 7 | no handlers, call basicConfig() to add a console handler with a pre-defined |
| 8 | format. |
| 9 | """ |
| 10 | logging.error(msg, *args, **kwargs) |
| 11 | """ |
| 12 | 后续增加切面 |
| 13 | """ |
| 14 | |
| 15 | |
| 16 | def info(msg, *args, **kwargs): |
nothing calls this directly
no outgoing calls
no test coverage detected