Inherits Function.
Sets the verbosity level of the internal logging of TDLib. Can be called synchronously.
Returns object_ptr<Ok>.
Public Fields | |
| 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. | |
Public Types | |
| using | ReturnType = object_ptr< ok > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| setLogVerbosityLevel () | |
| setLogVerbosityLevel (int32 new_verbosity_level_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -303429678 |
| Identifier uniquely determining a type of the object. | |
Default constructor for a function, which sets the verbosity level of the internal logging of TDLib. Can be called synchronously.
Returns object_ptr<Ok>.
|
explicit |
Creates a function, which sets the verbosity level of the internal logging of TDLib. Can be called synchronously.
Returns object_ptr<Ok>.
| [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. |
|
finalvirtual |