Log 'fmt % context' with severity 'INFO'. 'context' is also passed in extra with key 'data' for custom handlers.
(fmt, context)
| 121 | |
| 122 | |
| 123 | def info(fmt, context): |
| 124 | """Log 'fmt % context' with severity 'INFO'. |
| 125 | |
| 126 | 'context' is also passed in extra with key 'data' for custom handlers. |
| 127 | """ |
| 128 | logger.info(fmt, context, extra={'data': context}) |
| 129 | |
| 130 | |
| 131 | def task_has_custom(task, attr): |
no test coverage detected