I have a program that I wish every time it is run generates a log file, that is, a file that contains the trace of the events at the time of execution of the program.
The report that fulfills all these characteristics in spyder-python, is the so-called output that is in the profiler (there it is reached with f10).
I am looking for your help, to obtain from the editor (every time my program is executed) the Output file that I mentioned earlier.