Log a message with severity 'INFO' 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)
| 2208 | warning(msg, *args, **kwargs) |
| 2209 | |
| 2210 | def info(msg, *args, **kwargs): |
| 2211 | """ |
| 2212 | Log a message with severity 'INFO' on the root logger. If the logger has |
| 2213 | no handlers, call basicConfig() to add a console handler with a pre-defined |
| 2214 | format. |
| 2215 | """ |
| 2216 | if len(root.handlers) == 0: |
| 2217 | basicConfig() |
| 2218 | root.info(msg, *args, **kwargs) |
| 2219 | |
| 2220 | def debug(msg, *args, **kwargs): |
| 2221 | """ |
no test coverage detected
searching dependent graphs…