Resets the formatting for 🤗 Diffusers' loggers. All handlers currently bound to the root logger are affected by this method.
()
| 254 | |
| 255 | |
| 256 | def reset_format() -> None: |
| 257 | """ |
| 258 | Resets the formatting for 🤗 Diffusers' loggers. |
| 259 | |
| 260 | All handlers currently bound to the root logger are affected by this method. |
| 261 | """ |
| 262 | handlers = _get_library_root_logger().handlers |
| 263 | |
| 264 | for handler in handlers: |
| 265 | handler.setFormatter(None) |
| 266 | |
| 267 | |
| 268 | def warning_advice(self, *args, **kwargs) -> None: |
nothing calls this directly
no test coverage detected