#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| string | path_ |
| | Path to the file to where the internal TDLib log will be written.
|
| |
| int53 | max_file_size_ |
| | The maximum size of the file to where the internal TDLib log is written before the file will automatically be rotated, in bytes.
|
| |
| bool | redirect_stderr_ |
| | Pass true to additionally redirect stderr to the log file. Ignored on Windows.
|
| |
|
| static const std::int32_t | ID = 1532136933 |
| | Identifier uniquely determining a type of the object.
|
| |
The log is written to a file.
Definition at line 37998 of file td_api.h.
◆ logStreamFile() [1/2]
| td::td_api::logStreamFile::logStreamFile |
( |
| ) |
|
The log is written to a file.
◆ logStreamFile() [2/2]
| td::td_api::logStreamFile::logStreamFile |
( |
string const & |
path_, |
|
|
int53 |
max_file_size_, |
|
|
bool |
redirect_stderr_ |
|
) |
| |
The log is written to a file.
- Parameters
-
| [in] | path_ | Path to the file to where the internal TDLib log will be written. |
| [in] | max_file_size_ | The maximum size of the file to where the internal TDLib log is written before the file will automatically be rotated, in bytes. |
| [in] | redirect_stderr_ | Pass true to additionally redirect stderr to the log file. Ignored on Windows. |
◆ store()
| void td::td_api::logStreamFile::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ ID
| const std::int32_t td::td_api::logStreamFile::ID = 1532136933 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 38030 of file td_api.h.
◆ max_file_size_
| int53 td::td_api::logStreamFile::max_file_size_ |
The maximum size of the file to where the internal TDLib log is written before the file will automatically be rotated, in bytes.
Definition at line 38011 of file td_api.h.
◆ path_
| string td::td_api::logStreamFile::path_ |
Path to the file to where the internal TDLib log will be written.
Definition at line 38009 of file td_api.h.
◆ redirect_stderr_
| bool td::td_api::logStreamFile::redirect_stderr_ |
Pass true to additionally redirect stderr to the log file. Ignored on Windows.
Definition at line 38013 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h