Resets the formatting for 🤗 Diffusers' loggers. All handlers currently bound to the root logger are affected by this method.
()
| 274 | |
| 275 | |
| 276 | def reset_format() -> None: |
| 277 | """ |
| 278 | Resets the formatting for 🤗 Diffusers' loggers. |
| 279 | |
| 280 | All handlers currently bound to the root logger are affected by this method. |
| 281 | """ |
| 282 | handlers = _get_library_root_logger().handlers |
| 283 | |
| 284 | for handler in handlers: |
| 285 | handler.setFormatter(None) |
| 286 | |
| 287 | |
| 288 | def warning_advice(self, *args, **kwargs) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…