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