tracts.logs.set_log_file#

set_log_file(log_filename, memory_handler)#

Sets up logging to a file. If the logger already has handlers, it will buffer log records in memory until the file handler is added, at which point it will flush the buffered records to the file.

Parameters:

Path) (log_filename (str |)