Skip to content

LogStreamFile

Type · TDLib 1.8.67 · d1085f9c

The log is written to a file

LogStreamFile(
  path: string,
  max_file_size: int53,
  redirect_stderr: Bool
) → LogStream

path

string

Path to the file to where the internal TDLib log will be written

max_file_size

int53

The maximum size of the file to where the internal TDLib log is written before the file will automatically be rotated, in bytes

redirect_stderr

Bool

Pass true to additionally redirect stderr to the log file. Ignored on Windows