From f6c8abac96af9b9b72d007a3a858b0d4cad79e09 Mon Sep 17 00:00:00 2001 From: conqueror Date: Fri, 13 Apr 2018 16:35:52 -0400 Subject: [PATCH] commented out logs are removed --- Sources/Curly/Helpers/ClientAPIMappingHelper.swift | 2 -- Sources/Curly/HttpClient.swift | 4 ---- 2 files changed, 6 deletions(-) diff --git a/Sources/Curly/Helpers/ClientAPIMappingHelper.swift b/Sources/Curly/Helpers/ClientAPIMappingHelper.swift index b44e346..fd1aebc 100644 --- a/Sources/Curly/Helpers/ClientAPIMappingHelper.swift +++ b/Sources/Curly/Helpers/ClientAPIMappingHelper.swift @@ -21,7 +21,6 @@ struct ClientAPIMappingHelper { } catch let error as CURLResponse.Error { let err = error.response self.parseResponse(err, responseType, false, completion) -// LogFile.debug("responseCode: \(err.responseCode) - json: \(err.bodyString) - responseType:\(responseType) ") } catch let error { LogFile.critical("CURL GET request perform error") let httpError = ClientAPIError(code: 500, @@ -56,7 +55,6 @@ struct ClientAPIMappingHelper { let model = try decoder.decode(ClientAPIError.self, from: jsonData) completion(nil, model) } - // LogFile.info("responseCode: \(resp.responseCode) - json: \n\(resp.bodyString) - responseType:\(responseType) ") } catch let error as CURLResponse.Error { let err = error.response let httpError = ClientAPIError(code: err.responseCode, diff --git a/Sources/Curly/HttpClient.swift b/Sources/Curly/HttpClient.swift index afb941c..1ef0ef1 100644 --- a/Sources/Curly/HttpClient.swift +++ b/Sources/Curly/HttpClient.swift @@ -130,10 +130,6 @@ public struct HttpClient { } } - - - - /// The function that triggers the specific interaction with a remote server /// Parameters: /// - method: The HTTP Method enum, i.e. .get, .post