- Enclosing class:
- TdApi
Sets the verbosity level of the internal logging of TDLib. Can be
called synchronously.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.int
New value of the verbosity level for logging. -
Constructor Summary
ConstructorDescriptionSets the verbosity level of the internal logging of TDLib.SetLogVerbosityLevel
(int newVerbosityLevel) Sets the verbosity level of the internal logging of TDLib.SetLogVerbosityLevel
(DataInput input) Sets the verbosity level of the internal logging of TDLib. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
newVerbosityLevel
public int newVerbosityLevelNew 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetLogVerbosityLevel
public SetLogVerbosityLevel()Sets the verbosity level of the internal logging of TDLib. Can be called synchronously.Returns
Ok
-
SetLogVerbosityLevel
public SetLogVerbosityLevel(int newVerbosityLevel) Sets the verbosity level of the internal logging of TDLib. Can be called synchronously.Returns
Ok
- Parameters:
newVerbosityLevel
- 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.Returns
Ok
-
SetLogVerbosityLevel
Sets the verbosity level of the internal logging of TDLib. Can be called synchronously.Returns
Ok
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-