         return isReachable && !needsConnection
     }
 
-}
+
+    private func traceTask(task: NSURLSessionDataTask) {
+        if let log = JSONRequest.log {
+            log("Hello")
+        }
+    }
+
+}


    private(set) var request: NSMutableURLRequest?

    public static var userAgent: String?
    public static var requestTimeout = 5.0
    public static var resourceTimeout = 10.0

            let result = self.parseResponse(data, response: response)
            complete(result: result)
        }
        traceTask(task)
        task.resume()
    }

