bibclean.add_file_handler¶
- bibclean.add_file_handler(fname, mode='a', encoding=None, *, verbose=None)[source]¶
Add a file handler to the logger.
- Parameters:
- fname
str|Path Path to the file where the logging output is saved.
- mode
str Mode in which the file is opened.
- encoding
str|None If not None, encoding used to open the file.
- verbose
int|str|bool|None Sets the verbosity level. The verbosity increases gradually between
"CRITICAL","ERROR","WARNING","INFO"and"DEBUG". If None is provided, the verbosity is set to"WARNING". If a bool is provided, the verbosity is set to"WARNING"for False and to"INFO"for True.
- fname