This procedure enables to save the received or sent data as ASCII code into the log file that is defined by FileNameparameter. The files are saved to the Trace directory of an application. Note: FileName can also contain directory names, e.g. "subdir1/mylog.txt" or "../anotherdir/mylog.txt".