log_to_file()
Enable logging for all functions in the MMoCHi package
file_name (str) – The file path and file name (without a “.log” suffix) detailing where a log file should be saved.
str
file_mode (str (default: 'w')) – Either “w” to overwrite a preexisting file, or “a” to append logs to a preexisting file.
'w'