AddLogMessage

public struct AddLogMessage : Codable, Equatable, TDFunction

Adds a message to TDLib internal log. This is an offline method. Can be called before authorization. Can be called synchronously

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • The minimum verbosity level needed for the message to be logged, 0-1023

    Declaration

    Swift

    public let verbosityLevel: Int32
  • Text of a message to log

    Declaration

    Swift

    public let text: String
  • Adds a message to TDLib internal log. This is an offline method. Can be called before authorization. Can be called synchronously

    Declaration

    Swift

    public init(verbosityLevel: Int32, text: String)

    Parameters

    verbosityLevel

    The minimum verbosity level needed for the message to be logged, 0-1023

    text

    Text of a message to log