Package it.tdlight.jni
Class TdApi.AddLogMessage
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.AddLogMessage
- Enclosing class:
- TdApi
public static class TdApi.AddLogMessage extends TdApi.Function
Adds a message to TDLib internal log.
Can be called synchronously.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
text
Text of a message to log.int
verbosityLevel
The minimum verbosity level needed for the message to be logged, 0-1023. -
Constructor Summary
Constructors Constructor Description AddLogMessage()
Adds a message to TDLib internal log.AddLogMessage(int verbosityLevel, String text)
Adds a message to TDLib internal log.AddLogMessage(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
verbosityLevel
public int verbosityLevelThe minimum verbosity level needed for the message to be logged, 0-1023. -
text
Text of a message to log. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
AddLogMessage
public AddLogMessage()Adds a message to TDLib internal log. Can be called synchronously.Returns
Ok
-
AddLogMessage
Adds a message to TDLib internal log. Can be called synchronously.Returns
Ok
- Parameters:
verbosityLevel
- int The minimum verbosity level needed for the message to be logged, 0-1023.text
- String Text of a message to log.
-
AddLogMessage
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-