td_set_log_max_file_size method

int td_set_log_max_file_size(
  1. int max_file_size
)

Sets the maximum size of the file to where the internal TDLib log is written before the file will be auto-rotated. Unused if log is not written to a file. Defaults to 10 MB.

\deprecated Use synchronous setLogStream request instead. \paramin max_file_size The maximum size of the file to where the internal TDLib log is written before the file will be auto-rotated. Should be positive.

Implementation

int td_set_log_max_file_size(
  int max_file_size,
) {
  return _td_set_log_max_file_size(
    max_file_size,
  );
}