TDLib
Loading...
Searching...
No Matches
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 Types

using ReturnType = object_ptr<ok>
 Typedef for the type returned by the function.

Public Member Functions

 setLogVerbosityLevel ()
 setLogVerbosityLevel (int32 new_verbosity_level_)
void store (TlStorerToString &s, const char *field_name) const final
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

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 Public Attributes

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

Constructor & Destructor Documentation

◆ setLogVerbosityLevel() [1/2]

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]

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.

Member Function 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: