megengine.set_log_file# set_log_file(fout, mode='a')[source]# Sets log output file. Parameters: fout – file-like object that supports write and flush, or string for the filename mode – specify the mode to open log file if fout is a string