Inherits td::td_api::Function.
|
using | ReturnType = object_ptr< ok > |
| Typedef for the type returned by the function.
|
|
|
int32 | new_verbosity_level_ |
| New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings, value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging.
|
|
|
static const std::int32_t | ID = -303429678 |
| Identifier uniquely determining a type of the object.
|
|
Sets the verbosity level of the internal logging of TDLib. Can be called synchronously.
Returns object_ptr<Ok>.
◆ setLogVerbosityLevel() [1/2]
td::td_api::setLogVerbosityLevel::setLogVerbosityLevel |
( |
| ) |
|
Default constructor for a function, which sets the verbosity level of the internal logging of TDLib. Can be called synchronously.
Returns object_ptr<Ok>.
◆ setLogVerbosityLevel() [2/2]
td::td_api::setLogVerbosityLevel::setLogVerbosityLevel |
( |
int32 |
new_verbosity_level_ | ) |
|
|
explicit |
Creates a function, which sets the verbosity level of the internal logging of TDLib. Can be called synchronously.
Returns object_ptr<Ok>.
- Parameters
-
[in] | new_verbosity_level_ | New value of the verbosity level for logging. Value 0 corresponds to fatal errors, value 1 corresponds to errors, value 2 corresponds to warnings and debug warnings, value 3 corresponds to informational, value 4 corresponds to debug, value 5 corresponds to verbose debug, value greater than 5 and up to 1023 can be used to enable even more logging. |
◆ get_id()
std::int32_t td::td_api::setLogVerbosityLevel::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::setLogVerbosityLevel::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.
The documentation for this class was generated from the following file: