         delegate = Delegate()
         session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
         self.responseQueue = responseQueue
-
-        logDateFormatter = DateFormatter()
-        logDateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSS ZZZZZ"
     }
 
     deinit {

        }
        let ns = { (object: Any?) -> String in object.flatMap { "\($0)" } ?? "nil" }
        log(
            "__ \(logFormatDate(date))",
            "\(t) Request: \(ns(request.httpMethod)) \(ns(request.url))",
            "\(t) Response: \(ns(urlResponse?.statusCode)), Time: \(String(format: "%0.3f", time)) s",
            "\(t) Headers: \(ns(urlResponse?.allHeaderFields))",

        print("", separator: "", terminator: terminator)
    }

    private let logDateFormatter = DateFormatter(dateFormat: "yyyy-MM-dd HH:mm:ss.SSS ZZZZZ")

    private func log(_ request: URLRequest, date: Date) {
        if !logging || logOnlyErrors { return }
