     open func customHeadersForRequest<T : NetworkRequest>(_ networkRequest: T) -> [String : String]? {
         return nil
     }
-
-    public func debugPrint(_ items: Any...) {
-        Swift.debugPrint(String(describing: type(of: self).self), items)
-    }
 }

        return {
            [unowned self] data, response, error in

            if let response = response,
                self.configuration.debugMode {
                if let data = data,
                    let dataAsString = String(data: data, encoding: .utf8) {

                    self.debugPrint(response, dataAsString)
                } else {
                    self.debugPrint(response)
                }
            }
            
            type(of: self).operationQueue.async {
                
                guard let httpResponse = response as? HTTPURLResponse else {

        let handler = self.requestHandler(with: networkRequest, urlRequest: urlRequest, completion: completionHandler)
        let task = session.dataTask(with: urlRequest, completionHandler: handler)
        task.resume()
        return task
    }
    
