rxn.reaction_preprocessing.utils.add_custom_logger_to_file
- rxn.reaction_preprocessing.utils.add_custom_logger_to_file(log_file)[source]
Set up logging to a file.
This is a bit more complex than usual because hydra sets up the logger automattically, and it is not possible to disable it.
- Parameters
log_file (
Union
[str
,PathLike
]) – file where to save the logs.- Return type
None