View Source ExTDLib.Object.LogStreamFile (ExTDLib v0.0.4)

The log is written to a file.

NameTypeDescription
pathstringPath to the file to where the internal TDLib log will be written.
max_file_sizestringThe maximum size of the file to where the internal TDLib log is written before the file will automatically be rotated, in bytes.
redirect_stderrboolPass true to additionally redirect stderr to the log file. Ignored on Windows.

More details on telegram's documentation.