DebugService

public final class DebugService : DebugServiceProtocol

Undocumented

  • Undocumented

    Declaration

    Swift

    public static let shared: DebugService
  • Undocumented

    Declaration

    Swift

    public var isLogEnable: Bool { get set }
  • Undocumented

    Declaration

    Swift

    public var isRequestLogEnable: Bool { get set }
  • Undocumented

    Declaration

    Swift

    public var isCaptchaEnable: Bool { get set }

Init

  • Undocumented

    Declaration

    Swift

    public func log(
        _ string: String,
        type: MessageType
    )
  • Undocumented

    Declaration

    Swift

    public func logRequest(
        urlRequest: NSMutableURLRequest?,
        body: Data?
    )
  • Undocumented

    Declaration

    Swift

    public func logResponse(
        response: URLResponse
    )
  • Undocumented

    Declaration

    Swift

    public func logData(
        body: Data?
    )
  • Undocumented

    Declaration

    Swift

    public func cleanFile()
  • Undocumented

    Declaration

    Swift

    public func getLogs() -> String
  • Undocumented

    Declaration

    Swift

    public func getFile() -> URL?
  • Undocumented

    Declaration

    Swift

    public func copyToBuffer()