Enable propagation of the library log outputs. Please disable the HuggingFace Transformers's default handler to prevent double logging if the root logger has been configured.
()
| 215 | |
| 216 | |
| 217 | def enable_propagation() -> None: |
| 218 | """ |
| 219 | Enable propagation of the library log outputs. Please disable the HuggingFace Transformers's default handler to |
| 220 | prevent double logging if the root logger has been configured. |
| 221 | """ |
| 222 | |
| 223 | _configure_library_root_logger() |
| 224 | _get_library_root_logger().propagate = True |
| 225 | |
| 226 | |
| 227 | def enable_explicit_format() -> None: |
nothing calls this directly
no test coverage detected