List of all members | Public Fields | Public Types | Public Instance Methods | Static Public Attributes
setLogVerbosityLevel Class Referencefinal

Inherits Function.

Description

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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -303429678
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ setLogVerbosityLevel() [1/2]

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]

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.

Method Documentation

◆ store()

void 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]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: