Package org.drinkless.tdlib

# Class TdApi.SetLogVerbosityLevel

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.SetLogVerbosityLevel

Enclosing class:
  TdApi

public static class TdApi.SetLogVerbosityLevel extends TdApi.Function<TdApi.Ok>
Sets the verbosity level of the internal logging of TDLib. Can be called synchronously.

Returns `Ok`

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function

  `TdApi.Function.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `int`
  `newVerbosityLevel`
  New value of the verbosity level for logging.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SetLogVerbosityLevel()`
  Default constructor for a function, which sets the verbosity level of the internal logging of TDLib.
  `SetLogVerbosityLevel(int newVerbosityLevel)`
  Creates a function, which sets the verbosity level of the internal logging of TDLib.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Function

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### newVerbosityLevel

    public int 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.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### SetLogVerbosityLevel

    public SetLogVerbosityLevel()
    Default constructor for a function, which sets the verbosity level of the internal logging of TDLib. Can be called synchronously.

    Returns `Ok`

  - ### SetLogVerbosityLevel

    public SetLogVerbosityLevel(int newVerbosityLevel)
    Creates a function, which 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.

- ## 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 class `TdApi.Function<TdApi.Ok>`
    Returns:
      this.CONSTRUCTOR